Error 255 When Sharing Folder on Ubuntu 12.04

I try to share folder on Ubuntu, the steps I did:

Right click on folder

I clicked sharing options

Then I clicked share this folder

Then I clicked create share

I got this message :'net usershare' returned error 255: net usershare add: cannot share path..

How to fix this .

1

The simplest solution would to be to add the stated lines,

usershare owner only = false

to the Global section of the smb.conf file by,

sudo -H gedit /etc/samba/smb.conf

then save the file and restart the samba service,

sudo service smbd restart

Then try again to share the selected folder

0

Open the parent directory with administrator permission and try again

sudo apt-get install gksu

gksu nautilus /your_complete_path/

then share the folder...

1
Marcus Vance

Marcus Vance

Cybersecurity & Digital Privacy Researcher

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.

Share this article
Twitter Facebook Pinterest