'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error Permission denied
You do not have permission to create a usershare. Ask your administrator to grant you permissions to create a share.
You talking about that error?
If you do a:
Code:
ls -dl /var/lib/samba/usershares
You should find out:
drwxrwx--T 2
root sambashare 4096 2012-01-11 17:49 /var/lib/samba/usershares
Now run the following command:
You should see that you either are or are not a member of the sambashare group.
If you are not then add yourself:
Code:
sudo gpasswd -a your-user-name sambashare
Then logout ( not reboot ) and login again and then try to share a folder.
Usershare has what I believe to be the very best error messages in all of software-dom.
Bookmarks