~/.gvfs is annoying for sysadmins

Tapas Mishra mightydreams at gmail.com
Sat Mar 12 05:41:33 UTC 2011


On Sat, Mar 12, 2011 at 8:56 AM, NoOp <glgxg at sbcglobal.net> wrote:
> On 03/11/2011 06:26 PM, travis+ml-ubuntu-users at subspacefield.org wrote:
>> I can't even stat the directory (actually a mount point) as root.
>
> Not sure I understand, but you should be able to sftp to it and mount. I
> grsync to ~/.gvfs on my other machine occasionally & that works fine. Or
> have I misunderstood?
I think he is referring to  following type of warnings

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


which you get when some process tries to read .gvfs as root

It's a virtual filesystem, used by gnome. It doesn't implement
everything stat() wants to get so it returns an error. Here is a quote
from Fedora mailing list about a similar problem:

The issue is that when the user is logged in, fuse creates a memory
resident filesystem interpreted by the user process.

This user process doesn't implement anything but owner. All else is
refused. Root can't access it because it isn't the owner, and can't
override that because the fuse filesystem doesn't implement/support
the override.




More information about the ubuntu-users mailing list