Where did ~/.gvfs/ go in Ubuntu 10.10?

Asked by Bob/Paul

It used to be when one browsed a network share with GVFS, a folder '~/.gvfs/sharename\ on\ fileserver/' was created and used as a mount point. This provided good application compatibility, allowing even shell processes to access files mounted with GVFS.

Now ~/.gvfs sits empty and nothing is ever mounted there. Neither mount and cat /proc/mounts give any indication that an actual mount was done under the hood.

Do I have to give up using gvfs and just smbmount by hand, or was the mount location just changed to somewhere else?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gvfs Edit question
Assignee:
No assignee Edit question
Solved by:
Bob/Paul
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I use a clean install of Ubuntu and have ~/.gvfs:

andy@D420:~$ file .gvfs/
.gvfs/: directory
andy@D420:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick

I have samba mounts and nothing is present in my mount output:

andy@D420:~$ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro,commit=0)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
/dev/sda3 on /home type ext4 (rw,commit=0)
gvfs-fuse-daemon on /home/andy/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=andy)

I guess if you want a command line based access then yes mounting manually may be needed

Revision history for this message
Bob/Paul (ubuntu-launchpad-bobpaul) said :
#2

With stuff mounted, what does ls ~/.gvfs give? Can you open OpenOffice documents from the samba share? You have "gvfs-fuse-daemon" reported in your list of mount points... that's what I would expect to see, but don't.

my ~/.gvfs is empty, even with a mount done through "Places->Connect to Server"
$ ls ~/.gvfs | wc
      0 0 0

Mount looks like:
$ mount
/dev/sda3 on / type ext4 (rw,errors=remount-ro,commit=0)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /var/lib/ureadahead/debugfs type debugfs (rw,relatime)
/dev/sda1 on /boot type ext3 (rw,commit=0)
/dev/sda5 on /home type ext4 (rw,commit=0)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)

Revision history for this message
Bob/Paul (ubuntu-launchpad-bobpaul) said :
#3

I found the answer here:
http://www.g-loaded.eu/2008/12/08/access-gvfs-mounts-from-the-command-line/#comment-11598

I need to run
   bobpaul@pc:~$ /usr/lib/gvfs/gvfs-fuse-daemon /home/bobpaul/.gvfs

and then I get
    bobpaul@pc:~$ mount | grep gvfs
    gvfs-fuse-daemon on /home/bobpaul/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=bobpaul)

Afterwards, mount shows all my mounts:
    bobpaul@pc:~$ ls ~/.gvfs
    engineering on serverb sftp for guest on shannon