Raspberry Pi Network Attached Storage

27 Jun 2020 / Oscfr

Install Samba

sudo apt install samba

Configure Samba

sudo mkdir /media/pi/shared
sudo chmod -R 777 /media/pi/shared
sudo nano /etc/samba/smb.conf
[shared]
path=/media/pi/shared
writeable=Yes
create mask=0777
directory mask=0777
public=no
sudo systemctl restart smbd

Add a Samba user

sudo smbpasswd -a pi