I love the Raspberry PI, its great for an endless amounts of projects. One thing that frustrates me is how complex it is to share a folder. so today ill detail how to share a folder in Raspbian.
- Login and open a Terminal Window. Paste in sudo apt-get install samba samba-common-bin
- next open the Samba Config, this is the file that tells the Pi what folders to share and to who. In the Terminal window paste sudo leafpad /etc/samba/smb.conf
- In the Config Text file that appears ensure that the lines below are the same.
workgroup = WORKGROUP
wins support = yes
- At the bottom of the Config file paste in the following
comment=Raspberry Pi Share
- Close and save the file.
- In the terminal window paste in sudo pcmanfm
- In the file explorer that appears right click on the pi folder and select properties.
- Select the permissions tab, From the three drop downs select “anyone” and press okay.
- Lastly paste this in the terminal sudo smbpasswd -a pi
- Enter your password twice, this sets the password for the shares.
- In windows head to \\<your pi name>\Home