When I mount FTP or SFTP server in nautilus, everything works fine and I can access the mounted directory without any problems. But gvfs-fuse-daemon does not start and .gvfs directory is empty i.e. the content of the accessed ftp directory is not mounted in .gvfs.
I have the fuse module installed and loaded and other applications use fuse without problems.
Also, I manually started gvfs-fuse-daemon and it works that way but as far as I know, gvfsd is supposed to start gvfs-fuse-daemon automatically so that is not a solution.
Any ideas why gvfs-fuse-daemon does not start automatically when I mount a remote share?
Last edited by ptodorov (2009-08-21 20:34:41)
I simply enter the address in the nautilus location bar, for example:
Nautilus opens the content of this ftp site and creates an icon on the desktop for this connection. But, .gvfs remains empty since gvfs-fuse-daemon does not start automatically.
If I start gvfs-fuse-daemon manually and enter the address in the nautilus location bar, Nautilus opens the content of this ftp site, creates an icon on the desktop for this connection AND the content of ftp://ftp.mozilla.org gets mounted in .gvfs and it can be accessed bu applications that are not gvfs/gio aware.
An icon for the connection gets created on desktop and I can open it (same as with nautilus) but .gvfs is still empty.
OK, I finally solved this problem. I started gvfsd with strace
strace -ft /usr/lib/gvfs/gvfsd -r
and it turned out that my .gvfs directory (while gvfs-fuse-daemon was not running) had wrong permissions, i.e. the logged-on user had no write access to .gvfs. I added the missing write permission and now everything works fine.