How do I navigate to a samba location I've mounted in Nautilus on the command line?

This is the same question here (and a bit of here too), except that I'm running Debian wheezy (7.4). To clear up, these directories do not exist:

/run/user
/var/run/user
~/.cache/gvfs

And this directory is empty:

~/.gvfs/

And the GVFS mounted samba share directory is not found in:

/media/
/mnt/

Naturally, I'd be expecting the Nautilus explorer to help describe the path I'm looking at, mounted locally. Or "Open in Terminal" to work. But they foil me!


Some of the GVFS utilities show some info from the command line:

$ gvfs-mount -l
...
Mount(0): sharedir on wincomp -> smb://wincomp/sharedir/
  Type: GDaemonMount

or with gvfs-mount -li:

Mount(0): sharedir on wincomp -> smb://wincomp/sharedir/
  Type: GDaemonMount
  default_location=smb://wincomp/sharedir/
  themed icons:  [folder-remote]  [folder]
  can_unmount=1
  can_eject=0
  is_shadowed=0

But it doesn't specify where the local mount location is!


Ok, figured it out. The default installation of Debian Wheezy does not install the POSIX compatibility layer for GVFS. Install it:

apt-get install gvfs-fuse

Add your user to the FUSE group:

adduser <username> fuse

Reboot your machine (or switch runlevels) and now GVFS will export a FUSE-fs to /home/<username>/.gvfs/<resourcename>

Best regards.

See https://wiki.gnome.org/Projects/gvfs/doc for more information, esp. the part about the FUSE daemon.


To add to bjanssen's answer, in Debian jessie the SMB share is available at

/run/user/$UID/gvfs

The same applies to your SFTP or WEBDAV shares.