samba 權限設置

由 kendeng8888 在 10-27-2004 15:23 发表:

samba 權限設置

建立共享目錄(任何人可以訪問只讀 ,只有屬與bs組的用戶有讀寫刪除的權限

設置如下

[ bs ]

comment = bs

path = /home/bs

public = yes

writable = yes

write list = @bs

可我用 smbclient //localhost/bs -U bs1 這個可以訪問

smbclient //localhost/bs -U abc 這個能看到 smb:> 這個但是看不到裡面的文件(ls) abc 不在bs組中,這是為什麼了,該怎樣修改了.


由 kendeng8888 在 10-27-2004 15:26 发表:


bs 目錄權限是774

drwxrwxr-- root bs bs


由 河边星星 在 10-27-2004 15:34 发表:


[sj]

comment = SJ Directory

path = /other/sj

force directory mode = 777

directory mode = 777

create mode = 777

force group = sj

valid users = @sj,@cg,0,@mis

write list = @sj,@mis

你只要加一句有效用户

valid users = abc


Redhat AS3(Taroon)_2.4.21-4.ELsmp+RTL-8139+WD80GJB+HY 512M

Giga-byte:Intel_865+Pentium2.6G+AC'97+Integrated Graphics Device

本人是吃菜的鸟...

近期关注点LDAP...........


由 河边星星 在 10-27-2004 15:37 发表:


[sj]

comment = SJ Directory

path = /other/sj

force directory mode = 777

directory mode = 777

create mode = 777

force group = sj

valid users = @sj,@cg,0,@mis

write list = @sj,@mis

你要加上valid users = abc


Redhat AS3(Taroon)_2.4.21-4.

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus