Created
April 9, 2017 15:22
-
-
Save huzhifeng/2e3fc0a0fc66c911b0073aa497a3afd9 to your computer and use it in GitHub Desktop.
Samba sample
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
[global] | |
workgroup = WORKGROUP | |
security = user | |
map to guest = bad user | |
create mask = 0644 | |
directory mask = 0755 | |
[pub] | |
path = /public | |
browseable = yes | |
guest ok = yes | |
read only = no | |
[data] | |
path = /data | |
public = no | |
writeable = yes | |
write list = huzhifeng | |
valid users = huzhifeng | |
[huzhifeng] | |
path = /home/huzhifeng | |
public = no | |
writeable = yes | |
write list = huzhifeng | |
valid users = huzhifeng |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment