Still does not seem to work or I do not not understand what is going on.

# zfs create rpool/export/home/andrew
# zfs set aclinherit=passthrough   rpool/export/home/andrew
# zfs set aclmode=passthrough   rpool/export/home/andrew

# chown andrew:staff /export/home/andrew
# chmod "A+user:oxygen:rwxpdDaARWcCos:fd-----:allow" /export/home/andrew

# ls -ldV /export/home/andrew
drwxr-xr-x+  3 andrew   staff          3 Jun 19 17:09 /export/home/andrew
             user:oxygen:rwxpdDaARWcCos:fd-----:allow
                  owner@:--------------:-------:deny
                  owner@:rwxp---A-W-Co-:-------:allow
                  group@:-w-p----------:-------:deny
                  group@:r-x-----------:-------:allow
               everyone@:-w-p---A-W-Co-:-------:deny
               everyone@:r-x---a-R-c--s:-------:allow

# mkdir /export/home/andrew/foo
# ls -ldV /export/home/andrew/foo
drwxr-xr-x+  2 andrew   staff          2 Jun 19 17:09 
/export/home/andrew/foo
             user:oxygen:rwxpdDaARWcCos:fdi---I:allow      <<Altered
             user:oxygen:rwxpdDaARWcCos:------I:allow      <<NEW
                  owner@:--------------:-------:deny
                  owner@:rwxp---A-W-Co-:-------:allow
                  group@:-w-p----------:-------:deny
                  group@:r-x-----------:-------:allow
               everyone@:-w-p---A-W-Co-:-------:deny
               everyone@:r-x---a-R-c--s:-------:allow


Andrew


> 
> Doing a bit for reading and I need to change the aclinherit option on 
> the zfs pool:
> 
>     zfs set aclinherit=passthrough rpool/ROOT/b114b
> 
> I will see if this fixes this.
> 
> Andrew
> 
>>
>> I am playing with ACL on snv_114 (and Storage 7110) system and I have 
>> noticed that strange things are happing to ACL's or am I doing 
>> something wrong.
>>
>> % mkdir /var/tmp/home
>> % chmod "A+user:oxygen:rwxpdDaARWcCos:fd-----:allow" /var/tmp/home
>> % chmod "A+group:staff:rwxpdDaARWcCos:fd-----:allow" /var/tmp/home
>>
>> %ls -ldV /var/tmp/home
>> drwxr-xr-x+  2 andrew   staff          2 Jun 19 12:46 /var/tmp/home/
>>             group:staff:rwxpdDaARWcCos:fd-----:allow
>>             user:oxygen:rwxpdDaARWcCos:fd-----:allow
>>                  owner@:--------------:-------:deny
>>                  owner@:rwxp---A-W-Co-:-------:allow
>>                  group@:-w-p----------:-------:deny
>>                  group@:r-x-----------:-------:allow
>>               everyone@:-w-p---A-W-Co-:-------:deny
>>               everyone@:r-x---a-R-c--s:-------:allow
>>
>> Create a sub-directory or file and the ACLs seem to change and increase.
>>
>> % mkdir /var/tmp/home/foo
>> % ls -ldV /var/tmp/home/foo
>> drwxr-xr-x+  2 andrew   staff          2 Jun 19 12:47 /var/tmp/home/foo/
>>             group:staff:rwxpdDaARWcCos:fdi---I:allow
>>             group:staff:-w-p----------:-------:deny
>>             group:staff:rwxpdDaARWc--s:------I:allow
>>             user:oxygen:rwxpdDaARWcCos:fdi---I:allow
>>             user:oxygen:-w-p----------:-------:deny
>>             user:oxygen:rwxpdDaARWc--s:------I:allow
>>                  owner@:--------------:-------:deny
>>                  owner@:rwxp---A-W-Co-:-------:allow
>>                  group@:-w-p----------:-------:deny
>>                  group@:r-x-----------:-------:allow
>>               everyone@:-w-p---A-W-Co-:-------:deny
>>               everyone@:r-x---a-R-c--s:-------:allow
>>
>> Am I doing something wrong?
>>
>> Thanks
>>
>> Andrew
>> _______________________________________________
>> nfs-discuss mailing list
>> nfs-discuss at opensolaris.org
> 
> _______________________________________________
> nfs-discuss mailing list
> nfs-discuss at opensolaris.org


Reply via email to