目的:网吧共享用,只有网管的账号有写的权限,顾客为只读!
过程:
新建了2个组,groupwrite组 为全部权限
groupread组 为只读权限
现在的问题是 groupwrite组 中的成员 能进,但不能写
/home/ftp/samba目录已经设了 777的权限了
把我搞晕了!!
附上我的smb.conf
:
#smb.conf
[glboal]
workgroup = wordgroup
server string = smb server
netbios name = mysmb
client code page = 936
socket address = 192.168.0.202
security = user
smb password file = /etc/samba/smbpasswd
deadtime = 10
max poen files = 1000
socket options = TCP_NODELAY
[homes]
comment = home directories
browseable = yes
writable = no
create mod = 0770
[NetDisk]
comment = NetDisk
path = /home/ftp/samba
write list = @groupwrite
valid users = @groupread,@groupwrite
writable = yes
samba如何对组 设置权限?
-
- 帖子: 3
- 注册时间: 2008-04-03 20:40