GNOME Bugzilla – Bug 772961
Nautilus not recognizing partition is already mounted
Last modified: 2016-10-17 06:41:11 UTC
I have a storage drive with just 1 btrfs partition on it. My fstab is setup to mount the drive as such: /dev/disk/by-uuid/9f2f5133-28b5-4980-a284-5eeda8fc58ad /mnt/9f2f5133-28b5-4980-a284-5eeda8fc58ad auto nosuid,nodev,nofail,x-gvfs-show 0 0 The partition is mounted correctly at startup to '/mnt/9f2f5133-28b5-4980-a284-5eeda8fc58ad'. However Nautilus as of GNOME 3.22 does not seem to recognize that it is mounted. In 'Other Locations' the partition is listed by it's UUID with a red disk icon. And clicking it results in an error window. "Unable to access location - mount: only root can mount /dev/disk/by-uuid/9f2f5133-28b5-4980-a284-5eeda8fc58ad on /mnt/9f2f5133-28b5-4980-a284-5eeda8fc58ad" As far as the "only root can mount" error, I have sudo rights on my user and the disk is already mounted. I can go to it's /mnt/<UUID> mount point and it is mounted. Nothing has changed in the fstab and it worked fine under GNOME 3.20.
Created attachment 337745 [details] Screen recording of the issue
It's propably an issue in gvfs introduced in https://git.gnome.org/browse/gvfs/commit/?id=b77369832fd6fb97e1f036998663f2488ff15022 Downgrade to 1.30.0 or revert mentioned commit. Probably relevant bugreport https://bugzilla.gnome.org/show_bug.cgi?id=772942
I did not have a cached version of the gvfs 1.30.0 package for Arch so instead I reverted to gvfs 1.28.3. This did fix the problem, confirming that gvfs 1.30.x contains the bug. Most likely the commit that gedgon mentioned.
Found a copy of Arch's gvfs 1.30.0 packages now. So I further limited this bug to only existing in gvfs 1.30.1.
Thanks for your bug report! I've already reverted the patches causing those issues and made an another release. I am sorry for the inconvenience... *** This bug has been marked as a duplicate of bug 772867 ***