admin 为更新目录,此目录可以读取,可以删除,需要密码,
public 目录只读,
upload 可以上传 可以删除 如果不允许删除 加mask属性即可。
[global]
public 目录只读,
upload 可以上传 可以删除 如果不允许删除 加mask属性即可。
[global]
workgroup = SAMBA
security = user
passdb backend = tdbsam
printing = cups
printcap name = cups
load printers = yes
cups options = raw
map to guest = bad user
#guest account=guest
[public]
path = /home/user/public
browseable = yes
read only = yes
guest ok = yes
[admin]
path=/home/user
valid users = ks
write list = ks
read only = no
guest ok = no
writable = yes
[upload]
path=/home/user/upload
read only = no
guest ok = yes
writeable = yes