Hello.

Let’s share a folder on Raspbian with a Samba server.

Let’s install

sudo apt-get install samba samba-common-bin

and let’s configure it by changing the parameters in its configuration file

sudo nano /etc/samba/smb.conf

Uncomment

workgroup = WORKGROUP wins support = yes

where “WORKGROUP” should be replaced with your network’s workgroup and “wins support” is for Windows systems support (if you’re not interested, you can leave it unchanged),

also uncomment

# security = user

and add this at the end of the file

[shared_folder_name] comment = your_comment path= path_of_the_folder_to_share browseable=yes read only = no writeable=yes only guest=no guest ok=no create mask=0777 directory mask=0777 public=no

where “shared_folder_name” is for the name you want to appear in your network.

Let’s set a password for the Samba server

sudo smbpasswd -a username

Replace username with your username.

Let’s restart the server

sudo /etc/init.d/samba restart

Bye!

! :) !

Sources:

http://raspberrypihq.com/how-to-share-a-folder-with-a-windows-computer-from-a-raspberry-pi/

http://maxtrixnix.blogspot.it/2013/06/raspberry-pi-come-installare-e.html