QUOTE:原帖由 cuci 于 2008-7-30 12:49 发表

“/home/file1 当fiel1的所有者属于不同的group的时候”
这个怎么属于不同的group?
对不起,没有描述清楚。
/home下有两个文件,分别是
/home/file3
/home/file4
其中 file3 的own 是user3 属于group3
其中 file4 的own 是user4 属于group4
现在对/home创建默认ACL。
if /home下的文件 file? 的own属于group3, then
file? 对于group1 的权限为 r-x
else if /home下的文件 file? 的own属于group4, then
file? 对于group1 的权限为 rwx
end if
预想的结果是:通过对/home创建默认ACL,实现
file3 对于group1 的权限为 r-x
file4 对于group1 的权限为 rwx