Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When i use lsof with sudo like this

sudo lsof ~


lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/nes/.gvfs
      Output information may be incomplete.

However when i use it without sudo, i don't get this error.

What means this message?

share|improve this question

1 Answer 1

up vote 6 down vote accepted

There is a FUSE virtual filesystem mounted at ~/.gvfs.

For the majority of filesystem accesses, permissions are ignored for the root user. However, FUSE virtual filesystem mounts are one of the rare exceptions. FUSE virtual filesystems are normally restricted to the user who mounted them.

In this case, the gvfs-fuse-daemon command (run as part of your desktop session) created this mount, belonging to you, and no-one else can access it, including root.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.