Public bug reported: find . -xdev reports "Permission denied" on fuse mounts instead of skipping the mount point. I found various bug reports on fuse mounts and it seems that fuse mounts are still not properly handled with 12.04.1 LTS.
Programs like x2go create a fuse mount in /tmp ! e.g. mount | grep fuse gvfs-fuse-daemon on /var/lib/lightdm/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=lightdm) testuser@127.0.0.1:/media on /tmp/.x2go-testuser/media/disk/_media type fuse.sshfs (rw,nosuid,nodev,max_read=65536,user=testuser) So when a root cron job does something like find /tmp -xdev (e.g. to cleanup old stuff) find does not skip the mount point but reports a permission denied error. This is not a clean behaviour. Either find should correctly skip this mount point or root should be able to scan everything on a machine. To my opinion root is root is root, so there should be no restrictions on following fuse mounts. As root can su to the user or even change the users password and become the user, I do not see any reason why root is restricted to follow fuse mounts right away. ** Affects: checksecurity (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1091114 Title: fuse mount cause problem to find -xdev To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/checksecurity/+bug/1091114/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs