Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 12 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
    
Then how to address it? In case I want to "sudo lso | grep ...". – user276851 Sep 24 '15 at 18:36

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.