GNOME Bugzilla – Bug 641569
Volumes shown for mounts to dot directories
Last modified: 2011-03-30 03:06:43 UTC
Created attachment 180136 [details] Screenshot of Nautilus Ubuntu 10.04 (Lucid Lynx) i386 Nautilus 2.30.1 mount -t cifs //localhost/test /home/administrator/.should_be_hidden -o uid=1000,gid=1000,ro Nautilus shows this mount in Places sidebar and desktop. It is also shown in file chooser dialogs such as Gedit. It is hidden in the view the same as other dot directories/dot files. Adding it to ~/.hidden and ~/.nautilus/globalhidden has no effect. In my usage scenario, the CIFS mount is being used to override UID/GID of a r/o branch for an aufs mount. The aufs filesystem doesn't have that capability. Since the aufs mount point is the one intended for the user (along with a hidden rw branch), the CIFS mount is useless and distracting.
Bug #316429 and bug #620313 are somewhat related to this bug.
-> gvfs This, if anything, would be a bug in the gvfs volume monitor, not nautilus. However, I don't think this is a bug, as if you don't want it to be visible, just mount it outside /home.
My aufs mount point is for applications running in Wine. Normally they are in hidden directories within /home because they have user-specific data. Since they are dot directories that don't show up with ls, they shouldn't be shown in Nautilus either.
We added a test condition to hide dot mounts no matter where they're mounted only in gvfs-1.7.0 and glib-2.27.4: http://git.gnome.org/browse/gvfs/commit/?id=87d354e8510072a1dcaa5698e4a0fbff34560ee5 Please upgrade to lastest version and reopen this bugreport if the issue persist. Also remember to use gdu volume monitor, hal is deprecated.
I wasn't able to get it to compile on my Ubuntu 11.04 alpha 3 (Natty Narwhal) i386 system. I'm short on time so I can't try further. Hopefully it makes it into the next Ubuntu release. Thanks for the fix.