How to share a folder in linux using samba

sudo nano -w /etc/samba/smb.conf

Use template that comes built in orr add to file

[mysharename]
    comment = Public Share
    path = /home/mysharepath
    browseable = yes
    read only = no
    create mask = 0644
    directory mask = 0755

And finally

# if on ubuntu/debian
service samba restart
# or if on other linux distros
/etc/init.d/samba restart

via Samba/SambaServerGuide – Community Ubuntu Documentation.

You may also like...

Leave a Reply