- Add a new section to the smb.conf
Connect to the vortexbox with SSH and open smb.conf with an editor.
e.g:nano file /etc/samba/smb.conf
add following section: - Reload smb.conf and restart smb daemon
###### Share for temporary data sharing ######### [Sharename] path = /home/trash guest ok = yes writeable = yes # create mask = 0777
explaination:
[Sharename] - the name of the share, it can be different from the diretory name
path - path to the directory on OS layer
guest ok - everyone in the network can access the folder
writable - it's writable for everyone in the network
create mask - permissions for "owner", "group", "other" as typically on Linux OS. 777 means that all 3 groups have "read", "write", "execute" permissions. default value is 744. Note: in my example it is uncommented
service smb reload service smb restart
No comments:
Post a Comment