How to share home folders with read only or read/write permission in Ubuntu
- http://ubuntumanual.org/posts/75/how-to-install-samba-server-for-filefol...
- Then go to terminal and type the following
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
gksudo gedit /etc/samba/smb.conf
- Find this line
... ; security = user ...
- Replace with the following lines
security = user
username map = /etc/samba/smbusers
- Remove the ; in front of the following lines (there will text in between explaining what they do):
;[homes] ;comment = Home Directories ;browseable = no ;valid users = %S ;writable = yes
- If you want other network users to be able to edit to the folder then change
# By default, the home directories are exported read-only. Change next # parameter to 'yes' if you want to be able to write to them. ; writable = no
- Replace with the following lines
writable = yes
- Save the edited file
- Read http://ubuntumanual.org/posts/73/how-to-adddelete-network-users-in-ubuntu
sudo testparm
sudo /etc/init.d/samba restart
Press the button below if you liked this site.
The brains or the lack of it behind Ubuntu Manual. Crazy about Linux, hates windows except for the fact that it runs many of his favorite games by default. Loves blogging









