Помогло:
export USERSHARES_DIR="/var/lib/samba/usershare"
export USERSHARES_GROUP="sambashare"
sudo mkdir -p ${USERSHARES_DIR}
sudo groupadd ${USERSHARES_GROUP}
sudo chown root:${USERSHARES_GROUP} ${USERSHARES_DIR}
sudo chmod 1770 ${USERSHARES_DIR}
In /etc/samba/smb.conf underneath [global] enter this:
usershare path = /var/lib/samba/usershare
usershare max shares = 100
usershare allow guests = yes
usershare owner only = False
Add yourself to the group with the following or use Kuser:
usermod -a -G ${USERSHARES_GROUP} your_username
Отсюда.