I attempted to reproduce it here, but could not. Here's what I did (inside a LXD Groovy container):
# id games
uid=5(games) gid=60(games) groups=60(games)
# apt install -y libglib2.0-bin gvfs gvfs-backends dbus-x11 samba
# eval $(dbus-launch --sh-syntax)
# cat /etc/samba/smb.conf
...
[games]
path = /testshare
browseable = yes
read only = yes
guest ok = yes
# gio mount -a smb://127.0.0.1/games
# echo $?
0
# gio info smb://127.0.0.1/games
display name: games on 127.0.0.1
edit name: /
name: /
type: directory
size: 0
uri: smb://127.0.0.1/games/
local path: /run/user/0/gvfs/smb-share:server=127.0.0.1,share=games
...
The default smb.conf that is shipped in Groovy doesn't come with the "[homes]" share enabled, but even after enabling it I'm still able to set up the "games" share and mount it.
Thanks for bug report.
I attempted to reproduce it here, but could not. Here's what I did (inside a LXD Groovy container):
# id games 0.0.1/games 0.0.1/games 0.0.1/games/ 0/gvfs/ smb-share: server= 127.0.0. 1,share= games
uid=5(games) gid=60(games) groups=60(games)
# apt install -y libglib2.0-bin gvfs gvfs-backends dbus-x11 samba
# eval $(dbus-launch --sh-syntax)
# cat /etc/samba/smb.conf
...
[games]
path = /testshare
browseable = yes
read only = yes
guest ok = yes
# gio mount -a smb://127.
# echo $?
0
# gio info smb://127.
display name: games on 127.0.0.1
edit name: /
name: /
type: directory
size: 0
uri: smb://127.
local path: /run/user/
...
The default smb.conf that is shipped in Groovy doesn't come with the "[homes]" share enabled, but even after enabling it I'm still able to set up the "games" share and mount it.
Could you please provide your smb.conf?