== sanity test 103a: acl test ============================ 07:58:26 (1788868706) /usr/bin/setfacl mdt.lustre-MDT0000.job_xattr=NONE uid=1(bin) gid=1(bin) groups=1(bin) uid=2(daemon) gid=2(daemon) groups=2(daemon) users:x:100: Adding user daemon to group bin Adding user daemon to group bin performing cp with bin='bin' daemon='daemon' users='users'... [3] $ umask 022 -- ok [4] $ mkdir d -- ok [5] $ cd d -- ok [6] $ touch f -- ok [7] $ setfacl -m u:bin:rw f -- ok [8] $ ls -l f | awk -- '{ print $1 }' -- ok [11] $ cp f g -- ok [12] $ ls -l g | awk -- '{sub(/\./, "", $1); print $1 }' -- ok [15] $ rm g -- ok [16] $ cp -p f g -- ok [17] $ ls -l f | awk -- '{ print $1 }' -- ok [20] $ mkdir h -- ok [21] $ echo blubb > h/x -- ok [22] $ cp -rp h i -- ok [23] $ cat i/x -- ok [26] $ rm -r i -- ok [31] $ setfacl -R -m u:bin:rwx h -- ok [32] $ getfacl --omit-header h/x -- ok [40] $ cp -rp h i -- ok [41] $ getfacl --omit-header i/x -- ok [49] $ cd .. -- ok [50] $ rm -r d -- ok 22 commands (22 passed, 0 failed) performing getfacl-noacl with bin='bin' daemon='daemon' users='users'... [4] $ mkdir test -- ok [5] $ cd test -- ok [6] $ umask 027 -- ok [7] $ touch x -- ok [8] $ getfacl --omit-header x -- ok [14] $ getfacl --omit-header --access x -- ok [20] $ getfacl --omit-header -d x -- ok [21] $ getfacl --omit-header -d . -- ok [22] $ getfacl --omit-header -d / -- ok [25] $ getfacl --skip-base x -- ok [26] $ getfacl --omit-header --all-effective x -- ok [32] $ getfacl --omit-header --no-effective x -- ok [38] $ mkdir d -- ok [39] $ touch d/y -- ok [46] $ getfacl -dRP . | grep file | sort -- ok [51] $ ln -s d l -- ok [53] $ ln -s l ll -- ok [62] $ rm l ll x -- ok [63] $ rm -rf d -- ok [64] $ cd .. -- ok [65] $ rmdir test -- ok 21 commands (21 passed, 0 failed) performing misc with bin='bin' daemon='daemon' users='users'... [6] $ umask 027 -- ok [7] $ touch f -- ok [10] $ setfacl -m u::r f -- ok [11] $ setfacl -m u::rw,u:bin:rw f -- ok [12] $ ls -dl f | awk '{print $1}' -- ok [15] $ getfacl --omit-header f -- ok [23] $ rm f -- ok [24] $ umask 022 -- ok [25] $ touch f -- ok [26] $ setfacl -m u:bin:rw f -- ok [27] $ ls -dl f | awk '{print $1}' -- ok [30] $ getfacl --omit-header f -- ok [38] $ rm f -- ok [39] $ umask 027 -- ok [40] $ mkdir d -- ok [41] $ setfacl -m u:bin:rwx d -- ok [42] $ ls -dl d | awk '{print $1}' --