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 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. Could you please provide your smb.conf? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1915674 Title: Sharing folder in Files: "net usershare" returned error 255 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1915674/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs