How to share public folder over the network in ubuntu ?
Install the samba server using cli:
1 |
sudo apt-get install samba |
Put the password if you want:
1 |
sudo smbpasswd -a USERNAME |
Then open your smb.conf file to make changes for a user:
1 |
nano/etc/samba/smb.conf |
Then add the follwing lines end of the file:
1 2 3 4 5 6 7 8 |
[sharedfolder] path = /home/username/Public available = yes valid users = USERNAME read only = no browsable = yes public = yes writable = yes |
Then restart samba :
1 |
sudo restart smbd |
If result is not found or irrelevant, Please contact us.
Submit your request