You are trying to share a folder from Standard User Account and you will get this error: "' 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 ." To fix this problem, you need to modify the file in /etc/group . So, Login to your administrator account first, then open terminal , and type the command sudo su and enter you admin password gedit /etc/group Find sambashare then add your standard user account there; (e.g sambashare:x:124:admin,<standard user account>). Save and Close the File. After that, you need also to modify the samba configuration file, so on the terminal type this command gedit /etc/samba/smb.conf Add this line on the Global Section, usershare owner only = false On the Share Definitions, set the create mask = 777 and directory ...