Install:
Samba package on Gutsy
sudo apt-get install samba
Configure:
sudo mkdir /home/public
sudo chmod 777 /home/public/
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
sudo gedit /etc/samba/smb.conf
Find this line
...
; security = user
...
Replace with the following line
security = share
Append the following lines at the end of file
[public]
comment = Public Folder
path = /home/public
available = yes
browsable = yes
guest ok = yes
public = yes
writable = yes
create mask = 0777
directory mask = 0777
force user = nobody
force group = nogroup
Save the edited file
sudo testparm
sudo /etc/init.d/samba restart
No comments:
Post a Comment