lsof gives an error message in which it complains about a missing Gnome filesystem. # lsof>/dev/null lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /home/kj/.gvfs Output information may be incomplete. The undocumented Gnome dependency should be avoided or made available via USE flags. Reproducible: Always
It's not a bug in lsof. It is a standard behaviour of a FUSE filesystem. Only the user who owns the fuse mount point can access it. $ grep gvfs /proc/self/mounts gvfsd-fuse /run/user/1000/gvfs fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0 $ ls -ld /run/user/1000/gvfs dr-x------ 2 user1 user1 0 Nov 28 15:21 /run/user/1000/gvfs $ sudo ls -ld /run/user/1000/gvfs ls: cannot access /run/user/1000/gvfs: Permission denied $
Rpt: The undocumented Gnome dependency should be avoided or made available via USE flags.
It isn't lsof's fault that gnome-base/gvfs does this. I also doubt it's a bug. More of an annoyance. I've seen it for years on basically any system that uses gvs.
This is anyway an upstream issue... but googling a bit I think it's working as expected and it's not a bug: http://forums.fedoraforum.org/showthread.php?t=258299 http://forums.fedoraforum.org/showthread.php?t=258225 http://askubuntu.com/questions/23074/what-means-this-error-message-lsof-warning-cant-stat-fuse-gvfs-fuse-daemon There is no "hidden" dependency on gnome, simply gvfs is creating a dir with a set of permissions that make lsof show this warning, but it's not an error and the directory is being created with that permissions on purpose