Where ".gvfs" has gone in 14.04

My question is "simple".

Where can I find a local mount point for the Samba shares I'm connected to. In 12.04 it was located under *home/.gvfs*.

Thanks in advance for your help.

Here is my smb.conf file :

#======================= Global Settings =======================

[global]
workgroup = mshome
server string = %h server (Samba, Ubuntu)
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
    syslog = 0
    panic action = /usr/share/samba/panic-action %d
encrypt passwords = no
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
    map to guest = bad user
    usershare allow guests = yes
    comment = Home Directories
    browseable = no
    read only = no
security = user
username map = /etc/samba/smbusers

[printers]
    comment = All Printers
    browseable = no
    path = /var/spool/samba
    printable = yes
;   guest ok = no
;   read only = yes
    create mask = 0700
# Windows clients look for this share name as a source of downloadable
# printer drivers

[print$]
    comment = Printer Drivers
    path = /var/lib/samba/printers
;   browseable = yes
;   read only = yes
;   guest ok = no
# Uncomment to allow remote administration of Windows print drivers.
# You may need to replace 'lpadmin' with the name of the group your
# admin users are members of.
# Please note that you also need to set appropriate Unix permissions
# to the drivers directory for these users to have write rights in it
;   write list = root, @lpadmin
# A sample share for sharing your CD-ROM with others.

;[cdrom]
;   comment = Samba server's CD-ROM
;   read only = yes
;   locking = no
;   path = /cdrom
;   guest ok = yes
# The next two parameters show how to auto-mount a CD-ROM when the
#   cdrom share is accesed. For this to work /etc/fstab must contain
#   an entry like this:
#
#       /dev/scd0   /cdrom  iso9660 defaults,noauto,ro,user   0 0
#
# The CD-ROM gets unmounted automatically after the connection to the
#
# If you don't want to use auto-mounting/unmounting make sure the CD
#   is mounted on /cdrom
#
;   preexec = /bin/mount /cdrom
;   postexec = /bin/umount /cdrom

[RED]
    comment = RED USB Disk
    path = /media/laurent06000/RED
    writeable = yes
;   browseable = yes
    guest ok = yes

[flareGet]
    path = /home/laurent06000/flareGet
    writeable = yes
;   browseable = yes
    guest ok = yes

[windows]
    comment = Windows Main drive
    path = /media/windows
    writeable = yes
;   browseable = yes
    guest ok = yes

Thanks to LewisTM, you can find your gvfs folder in /run/user/$UID/gvfs.

$ mount | grep gvfs

Also see this.


If you don't have .gvfs any longer, you should be able to find the gvfs mount location with mount | grep gvfs. For example, gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=nrd) .

The location is there, and you can pull it out programmatically if you want, with mount | grep gvfs | awk '{print $3}' or something similar. The example here just returns /run/user/1000/gvfs.

If you are pre-12.10, you should have ~/.gvfs, but after 12.10 look in /run/user/user_id/gvfs/ .
If ~/.gvfs already was present (which would happen if you upgraded from an earlier release), it won't be clobbered in new releases, but the new directory will be created anyway.

You can find your uid in a few different way, e.g., by looking in /etc/passwd, or running id --user or echo "$UID".

The new location would then be /run/user/$(id --user)/gvfs/

In my system, the $XDG_RUNTIME_DIR variable also contains the directory above gvfs:

$ env | grep user
[...]
XDG_RUNTIME_DIR=/run/user/1000

So, on my system, I have /run/user/1000/gvfs.

Also see Why do my gvfs mounts not show up under ~/.gvfs or /run/user/<login>/gvfs?