Skip to content
Setup a non-secured shared folder with Samba
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
easysamba.sh

README.md

EasySamba

Setup a non-secured shared folder with Samba

This script is to setup a quick and dirty shared folder on Linux without any security restrictions. This is ideal for local Linux installations such as a Raspberry Pi, or a Virtual Machine run on a (secured) host.

If you're a bit more serious about security, this script will not help you.

How to use this script:

  1. Install Samba: sudo apt-get install samba
  2. Create a user: sudo adduser yourname
  3. Go to samba folder: cd /etc/samba
  4. Enter: sudo vi easysamba.sh
  5. Press "i" to go to insert mode
  6. Copy the text from the easysamba.sh script here on Github and paste the text into Putty or terminal emulation
  7. Hit Escape and enter: ":x" (without double quotes)
  8. Enter: chmod u+rwx easysamba.sh
  9. Enter: ./easysamba.sh yourname

The script will configure /home/yourname/share as your shared folder.

If you drop files in this share, or create directories, then these items will receive file permissions, which will never obstruct you.

You can’t perform that action at this time.