fuse mount cause problem to find -xdev
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/
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 |