edit :
sudo vim /etc/samba/smb.conf
add a section like this :
[sharename]
path = /path/to/folder
available = yes
valid users = root
read only = no
browsable = yes
public = yes
writable = yes
restart the SMB daemon
service smbd restart
edit :
sudo vim /etc/samba/smb.conf
add a section like this :
[sharename]
path = /path/to/folder
available = yes
valid users = root
read only = no
browsable = yes
public = yes
writable = yes
restart the SMB daemon
service smbd restart