[Bug 1091114] [NEW] fuse mount cause problem to find -xdev

latimerio 1091114 at bugs.launchpad.net
Mon Dec 17 08:17:41 UTC 2012


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 at 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
Server Team, which is subscribed to checksecurity in 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



More information about the Ubuntu-server-bugs mailing list