Samba Setup

From rbachwiki
Revision as of 19:06, 8 May 2019 by Bacchas (talk | contribs)
Jump to navigation Jump to search

Install Samba

sudo apt-get install samba smbfs

Create Directory to be shared

sudo mkdir shared

Change ownership

sudo chmod pi:pi shared2

Edit Samba config file

sudo nano /etc/samba/smb.conf
[shared] <---- This is the name of the shared folder so change it to whatever the folder is called
path = /shared
available = yes
valid users = pi
read only = no
browseable = yes
public = yes
writable = yes
create mask = 775
write list = pi bacchas

Restart Samba

sudo /etc/init.d/samba restart