Raspberry Pi SMB (Samba)

sudo apt-get install samba samba-common-bin
sudo nano /etc/samba/smb.conf

security = user

insert last line:

[Elements]
comment = External Drive
path = /mnt/usbel
valid users = @users
force group = users
create mask = 0660
directory mask = 0771
read only = no

run:

sudo smbpasswd -a pi

restart:

sudo service samba restart

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s