“net usershare”返回错误 255:net usershare add: cannot share path /home/jacky/skynet as we are restricted to only sharing directories we own.
Ask the administrator to add the line “usershare owner only = false”
to the [global] section of the smb.conf to allow this.
- vim /etc/samba/smb.conf
- 在 usershare allow guests = yes 下面添加 usershare owner only = false
- wq保存退出即可