0

I do mount a SMB share like this:

gio mount smb://192.168.1.20/security

(and it works in nautilus) now, for a script to access it, I'd expect to see the mounted share in /run/user/$UID/gvfs/ however, my gvfs directory is empty.

additional info:

$ gio info smb://192.168.1.20/security
display name: security on 192.168.1.20
edit name: /
name: /
type: directory
size:  0
uri: smb://192.168.1.20/security/
attributes:
  standard::type: 2
  standard::name: /
  standard::display-name: security on 192.168.1.20
  standard::edit-name: /
  standard::icon: folder-remote, folder-remote-symbolic
  standard::content-type: inode/directory
  standard::fast-content-type: inode/directory
  standard::size: 0
  standard::allocated-size: 0
  standard::symbolic-icon: folder-remote-symbolic, folder-remote
  etag::value: 1447186404
  id::filesystem: smb-share:server=192.168.1.20,share=security
  access::can-trash: FALSE
  time::modified: 1447186404
  time::modified-usec: 699946
  time::access: 1736778360
  time::access-usec: 432969
  time::changed: 1447186404
  time::changed-usec: 699946
  unix::device: 1207702157
  unix::inode: 60817651
  • How can I access the files from a script, and why is it not in gvfs?
  • This worked at least with Ubuntu 24.04 and 24.10 (now on 25.04)
user105939
  • 1,795

0 Answers0