Saturday 17 June 2017

Samba error in Ubuntu

15:41:00 Posted by Kumanan , ,
'net usershare' returned error 255: net usershare add: cannot share path /var/www/html/moodle as we are restricted to only sharing directories we own :-

cd /etc/samba

Then Edit the configuration file :
sudo gedit smb.conf

And then add a line in Global Settings :
   usershare owner only = false


After doing this, restart your samba service using,

sudo service smbd restart