QA output created by 191 *** nfs4acl/apply-mask.test *** [1] $ rm -rf d -- ok [2] $ mkdir d -- ok [3] $ cd d -- ok [5] $ touch x -- ok [7] $ nfs4acl --set 'owner@:rw::allow group@:rw::allow everyone@:r::allow' x -- ok [8] $ nfs4acl --get x -- ok [15] $ nfs4acl --set 'everyone@:w::allow owner@:r::allow group@:r::allow' x -- ok [16] $ chmod 664 x -- ok [17] $ nfs4acl --get x -- ok [23] $ nfs4acl --set 'everyone@:w::deny owner@:rw::allow group@:rw::allow' x -- ok [24] $ chmod 664 x -- ok [25] $ nfs4acl --get x -- ok [31] $ nfs4acl --set 'owner@:rwmo::allow' x -- ok [32] $ nfs4acl --get x -- ok [37] $ chmod 644 x -- ok [38] $ nfs4acl --get x -- ok [43] $ nfs4acl --set 'root:rw::allow' x -- ok [44] $ chmod 664 x -- ok [45] $ nfs4acl --get x -- ok [50] $ chmod 644 x -- ok [51] $ nfs4acl --get x -- ok [56] $ chmod 664 x -- ok [57] $ nfs4acl --get x -- ok [62] $ nfs4acl --set 'root:rw::allow everyone@:r::allow' x -- ok [63] $ chmod 664 x -- ok [64] $ nfs4acl --get x -- ok [70] $ nfs4acl --set 'root:r::allow everyone@:rw::allow' x -- ok [71] $ chmod 664 x -- ok [72] $ nfs4acl --get x -- ok [80] $ nfs4acl --set 'root:w::deny everyone@:rw::allow' x -- ok [81] $ chmod 664 x -- ok [82] $ nfs4acl --get x -- ok [91] $ nfs4acl --set 'root:rw::allow root:w::deny everyone@:rw::allow' x -- ok [92] $ chmod 664 x -- ok [93] $ nfs4acl --get x -- ok [102] $ nfs4acl --set 'everyone@:rw::allow' x -- ok [103] $ chmod 066 x -- ok [104] $ nfs4acl --get x -- ok [110] $ chmod 006 x -- ok [111] $ nfs4acl --get x -- ok [118] $ chmod 606 x -- ok [119] $ nfs4acl --get x -- ok [125] $ nfs4acl --set 'root:rw::allow everyone@:rw::allow' x -- ok [126] $ chmod 606 x -- ok [127] $ nfs4acl --get x -- ok [133] $ chmod 646 x -- ok [134] $ nfs4acl --get x -- ok [142] $ cd .. -- ok [143] $ rm -rf d -- ok 49 commands (49 passed, 0 failed) *** nfs4acl/basic.test *** [1] $ rm -rf d -- ok [2] $ mkdir d -- ok [3] $ cd d -- ok [5] $ chown bin . -- ok [6] $ su bin -- ok [8] $ touch x -- ok [9] $ nfs4acl --set 'everyone@:rw::allow' x -- ok [10] $ ls -l x | cut -d ' ' -f 1 -- ok [13] $ nfs4acl --get x -- ok [18] $ chmod 664 x -- ok [19] $ ls -l x | cut -d ' ' -f 1 -- ok [22] $ nfs4acl --get x -- ok [29] $ mkdir sub -- ok [30] $ nfs4acl --set 'everyone@:rwax:fd:allow' sub -- ok [31] $ ls -dl sub | cut -d ' ' -f 1 -- ok [34] $ nfs4acl --get sub -- ok [39] $ chmod 775 sub -- ok [40] $ ls -dl sub | cut -d ' ' -f 1 -- ok [42] $ nfs4acl --get sub -- ok [50] $ touch sub/f -- ok [51] $ ls -l sub/f | cut -d ' ' -f 1 -- ok [54] $ nfs4acl --get sub/f -- ok [59] $ mkdir sub/sub2 -- ok [60] $ ls -dl sub/sub2 | cut -d ' ' -f 1 -- ok [63] $ nfs4acl --get sub/sub2 -- ok [68] $ su -- ok [69] $ cd .. -- ok [70] $ rm -rf d -- ok 28 commands (28 passed, 0 failed) *** nfs4acl/chmod.test *** [1] $ mkdir d -- ok [2] $ cd d -- ok [4] $ whoami -- ok [7] $ touch a -- ok [10] $ su bin -- ok [11] $ chmod 666 a -- ok [13] $ nfs4acl --set 'bin:rwM::allow' a -- ok [16] $ su -- ok [17] $ nfs4acl --set 'bin:rwm::allow' a -- ok [20] $ su bin -- ok [21] $ nfs4acl --set 'bin:rwm::allow' a -- ok [25] $ chmod 666 a -- ok [26] $ nfs4acl --set 'bin:rwm::allow' a -- ok [29] $ su -- ok [30] $ cd .. -- ok [31] $ rm -rf d -- ok 16 commands (16 passed, 0 failed) *** nfs4acl/chown.test *** [1] $ mkdir d -- ok [2] $ cd d -- ok [4] $ whoami -- ok [7] $ id -Gn daemon -- ok [10] $ touch a -- ok [13] $ su daemon -- ok [14] $ chown daemon a -- ok [16] $ chgrp daemon a -- ok [18] $ nfs4acl --set 'daemon:rwo::allow' a -- ok [23] $ su -- ok [24] $ nfs4acl --set 'daemon:rwo::allow' a -- ok [27] $ su daemon -- ok [28] $ chown root a -- ok [30] $ chgrp root a -- ok [35] $ su -- ok [36] $ ls -l a | cut -d ' ' -f1 -- ok [38] $ chmod 660 a -- ok [42] $ su daemon -- ok [43] $ chown daemon a -- ok [45] $ chgrp daemon a -- ok [47] $ chgrp bin a -- ok [51] $ su -- ok [52] $ nfs4acl --set 'daemon:rwo::allow' a -- ok [56] $ su daemon -- ok [57] $ chgrp daemon a -- ok [58] $ chgrp bin a -- ok [59] $ chown daemon a -- ok [61] $ su -- ok [62] $ cd .. -- ok [63] $ rm -rf d -- ok 30 commands (30 passed, 0 failed) *** nfs4acl/computed-mode.test *** [1] $ rm -rf d -- ok [2] $ mkdir d -- ok [3] $ cd d -- ok [5] $ mkdir e -- ok [7] $ nfs4acl --set 'owner@:rwx:f:allow' e -- ok [8] $ touch e/f -- ok [9] $ ls -l e/f | cut -d ' ' -f 1 -- ok [11] $ rm e/f -- ok [13] $ nfs4acl --set 'group@:rwx:f:allow' e -- ok [14] $ touch e/f -- ok [15] $ ls -l e/f | cut -d ' ' -f 1 -- ok [17] $ rm e/f -- ok [19] $ nfs4acl --set 'everyone@:rwx:f:allow' e -- ok [20] $ touch e/f -- ok [21] $ ls -l e/f | cut -d ' ' -f 1 -- ok [23] $ rm e/f -- ok [25] $ nfs4acl --set 'owner@:rwx:f:allow root:rx:f:deny root:rx:f:allow' e -- ok [26] $ touch e/f -- ok [27] $ ls -l e/f | cut -d ' ' -f 1 -- ok [29] $ rm e/f -- ok [31] $ nfs4acl --set 'owner@:rwx::allow everyone@:w:fi:deny everyone@:rwx:fi:allow' e -- ok [32] $ touch e/f -- ok [33] $ ls -l e/f | cut -d ' ' -f 1 -- ok [35] $ rm e/f -- ok [37] $ nfs4acl --set 'owner@:rwx::allow root:rx:fi:deny root:rx:fi:allow' e -- ok [38] $ touch e/f -- ok [39] $ ls -l e/f | cut -d ' ' -f 1 -- ok [41] $ rm e/f -- ok [43] $ nfs4acl --set 'owner@:rx:fi:allow group@:rwx:fi:deny everyone@:rwx:f:allow' e -- ok [44] $ touch e/f -- ok [45] $ ls -l e/f | cut -d ' ' -f 1 -- ok [47] $ rm e/f -- ok [49] $ nfs4acl --set 'owner@:rx:fi:allow root:rwx:fi:deny everyone@:rwx:f:allow' e -- ok [50] $ touch e/f -- ok [51] $ ls -l e/f | cut -d ' ' -f 1 -- ok [53] $ rm e/f -- ok [55] $ nfs4acl --set 'everyone@:w:fi:deny root:rx:fi:allow everyone@:rwx:f:allow' e -- ok [56] $ touch e/f -- ok [57] $ ls -l e/f | cut -d ' ' -f 1 -- ok [59] $ rm e/f -- ok [61] $ cd .. -- ok [62] $ rm -rf d -- ok 42 commands (42 passed, 0 failed) *** nfs4acl/create.test *** [1] $ mkdir d -- ok [2] $ cd d -- ok [4] $ whoami -- ok [7] $ mkdir d1 d2 d3 d4 -- ok [8] $ nfs4acl --set 'daemon:wx::allow' d2 -- ok [9] $ nfs4acl --set 'daemon:ax::allow' d3 -- ok [10] $ nfs4acl --set 'daemon:wax::allow' d4 -- ok [12] $ su daemon -- ok [15] $ touch d1/f -- ok [17] $ mkdir d1/d -- ok [21] $ touch d2/f -- ok [22] $ mkdir d2/d -- ok [26] $ touch d3/f -- ok [28] $ mkdir d3/d -- ok [31] $ touch d4/f -- ok [32] $ mkdir d4/d -- ok [33] $ su -- ok [34] $ cd .. -- ok [35] $ rm -rf d -- ok 19 commands (19 passed, 0 failed) *** nfs4acl/ctime.test *** [1] $ mkdir d -- ok [2] $ cd d -- ok [4] $ whoami -- ok [7] $ touch a b -- ok [8] $ sleep 1 -- ok [11] $ su bin -- ok [12] $ touch a -- ok [17] $ su -- ok [18] $ nfs4acl --set 'bin:rw::allow' a -- ok [20] $ su bin -- ok [21] $ touch a -- ok [22] $ [ b -ot a ] || echo 'b should be older than a' -- ok [23] $ touch -r b a -- ok [27] $ su -- ok [28] $ nfs4acl --set 'bin:rwt::allow' a -- ok [30] $ su bin -- ok [31] $ touch -r b a -- ok [32] $ [ b -ot a -o a -ot b ] && echo 'a should be as old as b' -- ok [34] $ su -- ok [35] $ cd .. -- ok [36] $ rm -rf d -- ok 21 commands (21 passed, 0 failed) *** nfs4acl/delete.test *** [1] $ mkdir d -- ok [2] $ cd d -- ok [4] $ whoami -- ok [7] $ id -Gn daemon -- ok [10] $ mkdir n1 -- ok [11] $ touch n1/f -- ok [13] $ mkdir d2 d3 d4 d5 d6 d7 -- ok [14] $ touch d2/f d3/f d4/f d5/f d6/f d7/f d7/g -- ok [15] $ chown daemon d2 -- ok [16] $ chgrp bin d3 -- ok [17] $ chmod g+w d3 -- ok [18] $ nfs4acl --set 'daemon:wx::allow' d4 -- ok [19] $ nfs4acl --set 'daemon:d::allow' d5 -- ok [20] $ nfs4acl --set 'daemon:xd::allow' d6 -- ok [21] $ nfs4acl --set 'daemon:D::allow' d7/f d7/g -- ok [22] $ chmod 664 d7/g -- ok [24] $ mkdir s2 s3 s4 s5 s6 s7 -- ok [25] $ chmod +t s2 s3 s4 s5 s6 s7 -- ok [26] $ touch s2/f s3/f s4/f s5/f s6/f s7/f s7/g -- ok [27] $ chown daemon s2 -- ok [28] $ chgrp bin s3 -- ok [29] $ chmod g+w s3 -- ok [30] $ nfs4acl --set 'daemon:wx::allow' s4 -- ok [31] $ nfs4acl --set 'daemon:d::allow' s5 -- ok [32] $ nfs4acl --set 'daemon:xd::allow' s6 -- ok [33] $ nfs4acl --set 'daemon:D::allow' s7/f -- ok [34] $ nfs4acl --set 'daemon:D::allow' s7/g s7/g -- ok [35] $ chmod 664 s7/g -- ok [37] $ su daemon -- ok [40] $ rm n1/f -- ok [44] $ rm d2/f s2/f -- ok [48] $ rm d3/f s3/f -- ok [53] $ rm d4/f s4/f -- ok [58] $ rm d5/f s5/f -- ok [64] $ rm d6/f s6/f -- ok [68] $ rm d7/f s7/f -- ok [71] $ rm d7/g s7/g -- ok [75] $ su -- ok [76] $ cd .. -- ok [77] $ rm -rf d -- ok 40 commands (40 passed, 0 failed) *** nfs4acl/unrepresentable.test *** [4] $ rm -rf d -- ok [5] $ mkdir d -- ok [6] $ cd d -- ok [8] $ touch x -- ok [10] $ nfs4acl --set 'group@:rw::allow' x -- ok [11] $ chmod 600 x -- ok [12] $ ls -l x | cut -d ' ' -f 1 -- ok [14] $ nfs4acl --get x -- ok [17] $ rm -f x -- ok [19] $ cd .. -- ok [20] $ rm -rf d -- ok 11 commands (11 passed, 0 failed) *** nfs4acl/write-vs-append.test *** [1] $ mkdir d -- ok [2] $ cd d -- ok [4] $ whoami -- ok [7] $ touch a b c d e f -- ok [8] $ nfs4acl --set 'owner@:*::allow' a -- ok [9] $ nfs4acl --set 'owner@:*::allow bin:w::allow' b -- ok [10] $ nfs4acl --set 'owner@:*::allow bin:a::allow' c -- ok [11] $ nfs4acl --set 'owner@:*::allow bin:wa::allow' d -- ok [12] $ nfs4acl --set 'bin:a::deny owner@:*::allow bin:w::allow' e -- ok [13] $ nfs4acl --set 'bin:w::deny owner@:*::allow bin:a::allow' f -- ok [15] $ su bin -- ok [16] $ echo a > a -- ok [18] $ echo b > b -- ok [19] $ echo c > c -- ok [21] $ echo d > d -- ok [22] $ echo e > e -- ok [23] $ echo f > f -- ok [26] $ echo A >> a -- ok [28] $ echo B >> b -- ok [30] $ echo C >> c -- ok [31] $ echo D >> d -- ok [32] $ echo E >> e -- ok [34] $ echo F >> f -- ok [36] $ su -- ok [37] $ cat a b c d e f -- ok [45] $ cd .. -- ok [46] $ rm -rf d -- ok 27 commands (27 passed, 0 failed)