Skip to content

Instantly share code, notes, and snippets.

@mkhlil1288
Forked from denis-shvets/Ubuntu: Samba Share
Created August 10, 2016 01:14
Show Gist options
  • Save mkhlil1288/c3b93ece5135070603a650be50a4b74e to your computer and use it in GitHub Desktop.
Save mkhlil1288/c3b93ece5135070603a650be50a4b74e to your computer and use it in GitHub Desktop.
Ubuntu: Samba Share
# sudo nano -w /etc/samba/smb.conf
[www]
comment = Web Folder
path = /home/username/www
available = yes
valid users = username
read only = no
browseable = yes
public = yes
writable = yes
# sudo smbd reload
# chmod 777 /home/username/www/
# sudo chown -R username:username /home/username/www/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment