fuse mount cause problem to find -xdev

Bug #1091114 reported by latimerio
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
checksecurity (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

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.

Changed in checksecurity (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.