Samba : File Shares

Setting Up Samba File Shares

We’re ready to define some shares. A share definition in smb.conf looks like this:

[banner] #Replace “banner” with your share name; keep the brackets

comment = Banner Project Directory

path = /home/banner

readonly = No #OR:
#writeable = Yes #OR:
#writable = Yes

browseable = Yes

create mask = 0666 #To allow read, write, edit; default if not specified is 0744

directory mask = 0777 #To allow create, delete, browse, traverse; default if not specified is 0755