================================== acl 2.2.53: ./test-suite.log ================================== # TOTAL: 15 # PASS: 12 # SKIP: 0 # XFAIL: 2 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: test/root/permissions =========================== [12] $ require_root -- ok [18] $ umask 022 -- ok [19] $ mkdir d -- ok [20] $ cd d -- ok [21] $ umask 027 -- ok [22] $ touch f -- ok [23] $ ls -l f | awk -- '{ print $1, $3, $4 }' | sed 's/\.//g' -- ok [30] $ echo root > f -- ok [32] $ su daemon -- ok [33] $ echo daemon >> f -- ok [36] $ su -- ok [42] $ chown bin:bin f -- ok [43] $ ls -l f | awk -- '{ print $1, $3, $4 }' | sed 's/\.//g' -- ok [45] $ su bin -- ok [46] $ echo bin >> f -- ok [52] $ su daemon -- ok [53] $ cat f -- ok [57] $ echo daemon >> f -- ok [64] $ su bin -- ok [65] $ setfacl -m u:daemon:rw f -- ok [66] $ getfacl --omit-header f -- ok [77] $ su daemon -- ok [78] $ echo daemon >> f -- ok [79] $ cat f -- ok [88] $ su bin -- ok [89] $ chmod g-w f -- ok [90] $ getfacl --omit-header f -- ok [98] $ su daemon -- ok [99] $ echo daemon >> f -- ok [108] $ su bin -- ok [109] $ setfacl -m u:daemon:r,g:daemon:rw-,o::rw- f -- ok [111] $ su daemon -- ok [112] $ echo daemon >> f -- ok [119] $ su bin -- ok [120] $ setfacl -x u:daemon f -- ok [122] $ su daemon -- ok [123] $ echo daemon2 >> f -- ok [124] $ cat f -- ok [134] $ su bin -- ok [135] $ setfacl -m g:daemon:r f -- ok [137] $ su daemon -- ok [138] $ echo daemon3 >> f -- ok [145] $ su bin -- ok [146] $ setfacl -x g:daemon f -- ok [148] $ su daemon -- ok [149] $ echo daemon4 >> f -- ok [156] $ su -- ok [157] $ chgrp root f -- ok [159] $ su daemon -- ok [160] $ echo daemon5 >> f -- ok [161] $ cat f -- ok [172] $ su -- ok [173] $ setfacl -m g:bin:r,g:daemon:w f -- ok [175] $ su daemon -- ok [176] $ : < f -- ok [177] $ : > f -- ok [178] $ : <> f -- ok [186] $ su -- ok [187] $ mkdir -m 750 e -- ok [188] $ touch e/h -- ok [190] $ su bin -- ok [191] $ shopt -s nullglob ; echo e/* -- ok [194] $ echo i > e/i -- ok [197] $ su -- ok [198] $ setfacl -m u:bin:rx e -- ok [200] $ su bin -- ok [201] $ echo e/* -- ok [203] $ echo i > e/i -- ok [206] $ su -- ok [207] $ setfacl -m u:bin:rwx e -- ok [209] $ su bin -- ok [210] $ echo i > e/i -- ok [215] $ su -- ok [216] $ touch g -- ok [217] $ ln -s g l -- ok [218] $ setfacl -m u:bin:rw l -- ok [219] $ ls -l g | awk -- '{ print $1, $3, $4 }' -- ok [229] $ mknod -m 0660 hdt b 91 64 -- ok [230] $ mknod -m 0660 null c 1 3 -- ok [231] $ mkfifo -m 0660 fifo -- ok [233] $ su bin -- ok [234] $ : < hdt -- ok [236] $ : < null -- ok [238] $ : < fifo -- ok [241] $ su -- ok [242] $ setfacl -m u:bin:rw hdt null fifo -- ok [244] $ su bin -- ok [245] $ : < hdt -- failed /bin/sh: hdt: Permission denied !~ .*hdt: No such device or address$ [247] $ : < null -- failed /bin/sh: null: Permission denied != ~ [248] $ ( echo blah > fifo & ) ; cat fifo -- ok [256] $ su -- ok [257] $ mkdir -m 600 x -- ok [258] $ chown daemon:daemon x -- ok [259] $ echo j > x/j -- ok [260] $ ls -l x/j | awk -- '{ print $1, $3, $4 }' | sed 's/\.//g' -- ok [263] $ setfacl -m u:daemon:r x -- ok [265] $ ls -l x/j | awk -- '{ print $1, $3, $4 }' | sed 's/\.//g' -- ok [269] $ echo k > x/k -- ok [272] $ chmod 750 x -- ok [277] $ su -- ok [278] $ cd .. -- ok [279] $ rm -rf d -- ok 102 commands (100 passed, 2 failed) FAIL test/root/permissions.test (exit status: 2) XFAIL: test/nfs/nfsacl ====================== [6] $ umask 022 -- ok [7] $ mkdir -p test/sub -- ok [8] $ echo blah > test/sub/blah -- ok [10] $ cp -rp test/sub test/sub2 -- ok [11] $ find test/sub2 | sort | xargs ls -dl | awk '{print $1,$8}' -- failed drwxr-xr-x 10:03 != drwxr-xr-x test/sub2 -rw-r--r-- 10:03 != -rw-r--r-- test/sub2/blah [15] $ rm -rf test/sub2 -- ok [17] $ setfacl -m u:daemon:rwx test/sub -- ok [18] $ setfacl -dm u:daemon:rwx test/sub -- ok [19] $ getfattr -m- test/sub -- ok [25] $ cp -rp test/sub test/sub2 -- ok [26] $ find test/sub2 | sort | xargs ls -dl | awk '{print $1,$8}' -- failed drwxrwxr-x+ 10:03 != drwxrwxr-x+ test/sub2 -rw-r--r-- 10:03 != -rw-r--r-- test/sub2/blah [30] $ rm -rf test/sub2 -- ok [32] $ setfacl -m u:daemon:rw test/sub/blah -- ok [33] $ cp -rp test/sub test/sub2 -- ok [34] $ find test/sub2 | sort | xargs ls -dl | awk '{print $1,$8}' -- failed drwxrwxr-x+ 10:03 != drwxrwxr-x+ test/sub2 -rw-rw-r--+ 10:03 != -rw-rw-r--+ test/sub2/blah [38] $ rm -rf test/sub2 -- ok [42] $ rm -rf test -- ok 17 commands (14 passed, 3 failed) XFAIL test/nfs/nfsacl.test (exit status: 3) XFAIL: test/nfs/nfs-dir ======================= Use of uninitialized value within %ENV in substitution iterator at ./test/run line 106, line 11. Use of uninitialized value within %ENV in substitution iterator at ./test/run line 106, line 12. [10] $ umask 022 -- ok [11] $ mkdir /test -- ok [12] $ echo blah > /test/blah -- ok [16] $ su bin -- ok [17] $ cat test/blah -- failed cat: test/blah: No such file or directory != blah Use of uninitialized value within %ENV in substitution iterator at ./test/run line 106, line 23. [22] $ su -- ok Use of uninitialized value within %ENV in substitution iterator at ./test/run line 106, line 24. [23] $ chmod go-rwx /test -- ok Use of uninitialized value within %ENV in substitution iterator at ./test/run line 106, line 25. [24] $ setfacl -m u:bin:rx /test -- ok Use of uninitialized value within %ENV in substitution iterator at ./test/run line 106, line 27. [25] $ ls -dl /test | awk '{print $1, $3, $4}' -- ok [27] $ getfacl --omit-header /test 2> /dev/null -- ok [38] $ su bin -- ok [39] $ cat test/blah -- failed cat: test/blah: No such file or directory != blah [41] $ sleep 3 -- ok [42] $ cat test/blah -- failed cat: test/blah: No such file or directory != blah [44] $ cat test/blah -- failed cat: test/blah: No such file or directory != blah Use of uninitialized value within %ENV in substitution iterator at ./test/run line 106, line 50. [49] $ su -- ok [50] $ rm -rf /test -- ok 17 commands (13 passed, 4 failed) XFAIL test/nfs/nfs-dir.test (exit status: 4)