1 ACL inheritance test. Run these tests on a filesystem with ACL support.
8 $ setfacl -d -m group:bin:r-x d
18 > default:group:bin:r-x
35 > default:group:bin:r-x
41 $ ls -l d/f | awk -- '{ print $1 }'
48 > group::r-x #effective:r--
49 > group:bin:r-x #effective:r--
56 > d/f: Permission denied
58 Changed by CFS: (1). reduce the tree level to 2 (for shortening
59 time of local tests). (2). add one more getfacl test since dir
60 might be distributed around MDS's.
67 $ getfacl tree/dir0/dir5/file4
68 > # file: tree/dir0/dir5/file4
72 > group::r-x #effective:r--
73 > group:bin:r-x #effective:r--
77 $ getfacl tree/dir0/dir6/file4
78 > # file: tree/dir0/dir6/file4
82 > group::r-x #effective:r--
83 > group:bin:r-x #effective:r--
87 $ echo i >> tree/dir6/dir2/file2
88 $ echo i > tree/dir1/f
89 $ ls -l tree/dir1/f | awk -- '{ print $1 }'
91 in following item, the error message is dependant on distributions.
92 success on FC3, but not on FC2 and SLES3 etc. comment out by CFS.
94 # $ echo i > tree/dir6/dir2/f
95 # > tree/dir6/dir2/f: No such file or directory
101 Original scripts, comment out by CFS.
108 # $ getfacl tree/dir0/dir5/dir7/file4
109 # > # file: tree/dir0/dir5/dir7/file4
113 # > group::r-x #effective:r--
114 # > group:bin:r-x #effective:r--
118 # $ echo i >> tree/dir6/dir2/dir1/file2
119 # $ echo i > tree/dir1/f
120 # $ ls -l tree/dir1/f | awk -- '{ print $1 }'
123 # $ echo i > tree/dir6/dir2/f
124 # > tree/dir6/dir2/f: No such file or directory