Created
May 11, 2013 19:33
-
-
Save iamricard/5561112 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt-get install samba | |
$ sudo vi /etc/samba/smb.conf | |
# look for workgroup = WORKGROUP and change WORKGROUP for the workgroup name you set up on Windows | |
# look for the line #security = user and uncomment it | |
# save and exit | |
$ sudo echo -e "[sharedfolder]\n\tpath = /path/to/share/folder\n\tbrowsable = yes\n\tguest ok = no\n\tread only = yes\n\tcreate mask = 0755" >> /etc/samba/smb.conf | |
$ sudo smbpasswd -a `whoami` | |
$ sudo restart smbd && sudo restart nmbd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment