[Bug 212323] tests/sys/acl/01:main fails due to changes in NFSv4 ACL behavior

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Sep 2 07:37:07 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212323

            Bug ID: 212323
           Summary: tests/sys/acl/01:main fails due to changes in NFSv4
                    ACL behavior
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: ngie at FreeBSD.org

Some of the output from getfacl after setting NFSv4 ACLs on test files with
tests/sys/acl/01:main demonstrate a change in behavior with NFSv4 ACLs:

These errors don't occur on ^/stable/10 and older versions of ^/head (it
started failing some time between 05/04/2016 and 08/13/2016):

Repro:

sudo kldload zfs
sudo kyua debug -k /usr/tests/sys/acl/Kyuafile 01:main

e.g.

[376] $ getfacl -qn xxx -- failed
           user:41:-w-----A------:------I:allow !=           
user:41:--------------:------I:allow
           user:42:--------------:------I:allow ==           
user:42:--------------:------I:allow
           user:42:r-x-----------:------I:allow !=           
user:42:r-------------:------I:allow
          group:43:-w---------C--:------I:deny ==          
group:43:-w---------C--:------I:deny
            owner@:rw-p--aARWcCos:-------:allow ==            
owner@:rw-p--aARWcCos:-------:allow
            group@:r-----a-R-c--s:-------:allow ==            
group@:r-----a-R-c--s:-------:allow
         everyone@:r-----a-R-c--s:-------:allow ==         
everyone@:r-----a-R-c--s:-------:allow
[385] $ rm xxx -- ok
[386] $ umask 077 -- ok
[387] $ touch xxx -- ok
[388] $ getfacl -qn xxx -- failed
           user:41:-w-----A------:------I:allow !=           
user:41:--------------:------I:allow
           user:42:--------------:------I:allow ==           
user:42:--------------:------I:allow
           user:42:r-x-----------:------I:allow !=           
user:42:--------------:------I:allow
          group:43:-w---------C--:------I:deny ==          
group:43:-w---------C--:------I:deny
            owner@:rw-p--aARWcCos:-------:allow ==            
owner@:rw-p--aARWcCos:-------:allow
            group@:------a-R-c--s:-------:allow ==            
group@:------a-R-c--s:-------:allow
         everyone@:------a-R-c--s:-------:allow ==         
everyone@:------a-R-c--s:-------:allow
[397] $ rm xxx -- ok
[398] $ umask 770 -- ok
[399] $ touch xxx -- ok
[400] $ getfacl -qn xxx -- failed
            owner@:rw-p----------:-------:deny ==            
owner@:rw-p----------:-------:deny
            group@:rw-p----------:-------:deny ==            
group@:rw-p----------:-------:deny
           user:41:-w-----A------:------I:allow !=           
user:41:--------------:------I:allow
           user:42:--------------:------I:allow ==           
user:42:--------------:------I:allow
           user:42:r-x-----------:------I:allow !=           
user:42:--------------:------I:allow
          group:43:-w---------C--:------I:deny ==          
group:43:-w---------C--:------I:deny
            owner@:------aARWcCos:-------:allow ==            
owner@:------aARWcCos:-------:allow
            group@:------a-R-c--s:-------:allow ==            
group@:------a-R-c--s:-------:allow
         everyone@:rw-p--a-R-c--s:-------:allow ==         
everyone@:rw-p--a-R-c--s:-------:allow

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list