- 论坛徽章:
- 0
|
我使用的os 是CentOS4.3, 內核: kernel-2.6.9 samba : samba-3.0.10-1.4E.6, 分区格式是ext3
使用samba + ACL 共享文件, 可是无法实现ACL 的功能, 不知道为什么?
共享share目录, share里又有group1和group2目录, group1只允许group1的用户有rwx权限, group2只允许group2的用户有rwx权限, 其中user1属于group1,user2属于group2. 现在想利用ACL使的user2拥有对group1有rwx权限.
ACL的权限如下:
-------------------------------------------------
# file: share
# owner: root
# group: root
user::rwx
group::rwx
other::rwx
# file: share/group2
# owner: user2
# group: group2
user::rwx
group::r-x
group:group2:rwx
mask::rwx
other::r-x
# file: share/group1
# owner: user1
# group: group1
user::rwx
user:user2:rwx
group::r-x
group:group1:rwx
mask::rwx
other::r-x
------------------------------------------------
smb.conf 的部分设定如下
nt acl support = yes
[share]
path = /home/share
browseable = yes
read only = no
user2可以看group1里的东西,但无法写入, 这为什么呢?请帮忙! |
|