OpenSolaris

Printable Version Enter a New Search
Bug ID 6626566
Synopsis zfs ace splitting not working quite right
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:zfs
Keywords
Responsible Engineer Mark Shellenbaum
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_78
Fixed In snv_78
Release Fixed solaris_nevada(snv_78) , solaris_10u6(s10u6_03) (Bug ID:2161993)
Related Bugs
Submit Date 6-November-2007
Last Update Date 9-June-2008
Description
The code that split ACEs into two ACEs during a chmod operation can sometimes result in the owner@,group@,everone@ ACEs from being appended twice.  This doesn't really hurt anything, but it is incorrect.

# chmod A+user:marks:rwxp:fd:allow,user:lp:rwxp:fd:allow dir.1
# ls -dV dir.1
drwxr-xr-x+  2 root     root           2 Nov  6 11:25 dir.1
        user:marks:rwxp----------:fd-----:allow
           user:lp:rwxp----------: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
# chmod 755 dir.1
# ls -dV dir.1
drwxr-xr-x+  2 root     root           2 Nov  6 11:25 dir.1
        user:marks:rwxp----------:fdi----:allow
        user:marks:-w-p----------:-------:deny
        user:marks:rwxp----------:-------:allow
           user:lp:rwxp----------:fdi----:allow
           user:lp:-w-p----------:-------:deny
           user:lp:rwxp----------:-------:allow
            owner@:--------------:-------:deny
            owner@:-------A-W-Co-:-------:allow
            group@:--------------:-------:deny
            group@:--------------:-------:allow
         everyone@:-------A-W-Co-:-------:deny
         everyone@:r-x---a-R-c--s:-------: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
Work Around
N/A
Comments
N/A