|
[global]
workgroup = workgroup
netbios name = server
server string = Linux Samba Server TestServer
security = share
[netgame]
read list = nobody
valid users = nobody,@nobody
writable = yes
path = /home/gamesir/netgame
write list = admin
public = yes
[langame]
read list = nobody
valid users = nobody,@nobody
writable = yes
path = /home/gamesir/langame
write list = admin
public = yes
[gamesir]
read list = admin
valid users = admin,@admin
writable = yes
path = /home/gamesir
write list = admin
public = yes
这个是我的samba的配制
netgame和langame这两个文件夹..所有用户只读..不可写不可删..
gamesir这个文件夹需要登陆后才能读和写还有删....
请问这样的配制正确吗?
后面在文件夹权限和添加用户和组的时候..
请问是怎么加的和配制的?请高手解答..我弄了很多次都没成
功,请有经验的朋友告诉我详细步骤! |
|