Skip to content

Samba installation

Max Chodorowski edited this page Dec 6, 2020 · 1 revision
sudo apt install samba

There will be a question whether to support WINS - answer yes

sudo vi /etc/samba/smb.conf

Comment out all the entries for default shares at the bottom of the file.

Sample share entry to add

[shared_dir_name]
    comment = My shared dir
    path =  /home/pi
    browsable = yes
    writable = yes
    guest ok = yes
    create mask = 0775
    directory mask = 0775
    force user = pi
    force group = pi

Done

sudo systemctl restart smbd.service

Clone this wiki locally