remove print_event
[xfstests-dev.git] / 051.out
1 QA output created by 051
2
3 === Test minimal ACE ===
4 Setup file
5 -rwxrw-r-- id1 id2 file1
6
7 --- Test get and set of ACL ---
8 file1 []
9 Expect to FAIL
10 chacl: "u::r--,g::rwx,o:rw-" is an invalid ACL specification.
11 Expect to PASS
12 file1 [u::r--,g::rwx,o::rw-]
13
14 --- Test sync of ACL with std permissions ---
15 -r--rwxrw- id1 id2 file1
16 -rw-rwxrw- id1 id2 file1
17 file1 [u::rw-,g::rwx,o::rw-]
18
19 --- Test owner permissions ---
20 file1 [u::r-x,g::---,o::---]
21 Expect to PASS
22 Test was executed
23 Expect to FAIL
24 ./file1: Permission denied
25
26 --- Test group permissions ---
27 file1 [u::---,g::r-x,o::---]
28 Expect to FAIL - acl1 is owner
29 ./file1: Permission denied
30 Expect to PASS - acl2 matches group
31 Test was executed
32 Expect to PASS - acl2 matches sup group
33 Test was executed
34 Expect to FAIL - acl3 is not in group
35 ./file1: Permission denied
36
37 --- Test other permissions ---
38 file1 [u::---,g::---,o::r-x]
39 Expect to FAIL - acl1 is owner
40 ./file1: Permission denied
41 Expect to FAIL - acl2 is in group
42 ./file1: Permission denied
43 Expect to FAIL - acl2 is in sup. group
44 ./file1: Permission denied
45 Expect to PASS - acl3 is not owner or in group
46 Test was executed
47
48 === Test Extended ACLs ===
49
50 --- Test adding a USER ACE ---
51 Expect to FAIL as no MASK provided
52 chacl: "u::---,g::---,o::---,u:id2:r-x" is an invalid ACL specification.
53 Ensure that ACL has not been changed
54 file1 [u::---,g::---,o::r-x]
55 Expect to PASS - USER ACE matches user
56 file1 [u::---,g::---,o::---,u:id2:r-x,m::rwx]
57 Test was executed
58 Expect to FAIL - USER ACE does not match user
59 ./file1: Permission denied
60
61 --- Test adding a GROUP ACE ---
62 Expect to FAIL as no MASK provided
63 chacl: "u::---,g::---,o::---,g:id2:r-x" is an invalid ACL specification.
64 Ensure that ACL has not been changed
65 file1 [u::---,g::---,o::---,u:id2:r-x,m::rwx]
66 file1 [u::---,g::---,o::---,g:id2:r-x,m::rwx]
67 Expect to PASS - GROUP ACE matches group
68 Test was executed
69 Expect to PASS - GROUP ACE matches sup group
70 Test was executed
71 Expect to FAIL - GROUP ACE does not match group
72 ./file1: Permission denied
73
74 --- Test MASK ---
75 file1 [u::---,g::---,o::---,g:id2:r-x,m::-w-]
76 Expect to FAIL as MASK prohibits execution
77 ./file1: Permission denied
78 Expect to FAIL as MASK prohibits execution
79 ./file1: Permission denied
80 Expect to PASS as MASK allows execution
81 Test was executed
82
83 --- Test ACE priority ---
84 Expect to FAIL as should match on owner
85 ./file1: Permission denied
86 Expect to PASS as should match on user
87 Test was executed
88
89 === Test can read ACLs without access permissions ===
90 file1 [o::---,g::---,u::---]
91
92 === Test Default ACLs ===
93 acldir [u::rwx,g::rwx,o::rwx/u::r-x,g::r--,o::---]
94 -r--r----- 0 0 file2
95 file2 [u::r--,g::r--,o::---]
96 -r--r----- 0 0 file3
97 file3 [u::r--,g::r--,o::---]
98
99 === Removing ACLs ===
100 file1 [o::---,g::---,u::---]
101 acldir [u::rwx,g::rwx,o::rwx/u::r-x,g::r--,o::---]
102 acldir/file2 [u::r--,g::r--,o::---]
103 Remove ACLs...
104 file1 []
105 acldir []
106 acldir/file2 []
107
108 === Recursive change ACL ===
109 Change #1...
110 root [u::rwx,g::-w-,o::--x]
111 root/a [u::rwx,g::-w-,o::--x]
112 root/a/1 [u::rwx,g::-w-,o::--x]
113 root/a/1/mumble [u::rwx,g::-w-,o::--x]
114 root/a/2 [u::rwx,g::-w-,o::--x]
115 root/a/2/mumble [u::rwx,g::-w-,o::--x]
116 root/a/3 [u::rwx,g::-w-,o::--x]
117 root/a/3/mumble [u::rwx,g::-w-,o::--x]
118 root/a/4 [u::rwx,g::-w-,o::--x]
119 root/a/4/mumble [u::rwx,g::-w-,o::--x]
120 root/a/5 [u::rwx,g::-w-,o::--x]
121 root/a/5/mumble [u::rwx,g::-w-,o::--x]
122 root/a/6 [u::rwx,g::-w-,o::--x]
123 root/a/6/mumble [u::rwx,g::-w-,o::--x]
124 root/a/7 [u::rwx,g::-w-,o::--x]
125 root/a/7/mumble [u::rwx,g::-w-,o::--x]
126 root/a/8 [u::rwx,g::-w-,o::--x]
127 root/a/8/mumble [u::rwx,g::-w-,o::--x]
128 root/a/9 [u::rwx,g::-w-,o::--x]
129 root/a/9/mumble [u::rwx,g::-w-,o::--x]
130 root/a/0 [u::rwx,g::-w-,o::--x]
131 root/a/0/mumble [u::rwx,g::-w-,o::--x]
132 root/b [u::rwx,g::-w-,o::--x]
133 root/b/c1 [u::rwx,g::-w-,o::--x]
134 root/b/c1/1 [u::rwx,g::-w-,o::--x]
135 root/b/c2 [u::rwx,g::-w-,o::--x]
136 root/b/c2/2 [u::rwx,g::-w-,o::--x]
137 root/b/c3 [u::rwx,g::-w-,o::--x]
138 root/b/c3/3 [u::rwx,g::-w-,o::--x]
139 root/b/c4 [u::rwx,g::-w-,o::--x]
140 root/b/c4/4 [u::rwx,g::-w-,o::--x]
141 root/b/c5 [u::rwx,g::-w-,o::--x]
142 root/b/c5/5 [u::rwx,g::-w-,o::--x]
143 root/b/c6 [u::rwx,g::-w-,o::--x]
144 root/b/c6/6 [u::rwx,g::-w-,o::--x]
145 root/b/c7 [u::rwx,g::-w-,o::--x]
146 root/b/c7/7 [u::rwx,g::-w-,o::--x]
147 root/b/c8 [u::rwx,g::-w-,o::--x]
148 root/b/c8/8 [u::rwx,g::-w-,o::--x]
149 root/b/c9 [u::rwx,g::-w-,o::--x]
150 root/b/c9/9 [u::rwx,g::-w-,o::--x]
151 root/b/c0 [u::rwx,g::-w-,o::--x]
152 root/b/c0/0 [u::rwx,g::-w-,o::--x]
153 Change #2...
154 root [u::---,g::---,o::---]
155 root/a [u::---,g::---,o::---]
156 root/a/1 [u::---,g::---,o::---]
157 root/a/1/mumble [u::---,g::---,o::---]
158 root/a/2 [u::---,g::---,o::---]
159 root/a/2/mumble [u::---,g::---,o::---]
160 root/a/3 [u::---,g::---,o::---]
161 root/a/3/mumble [u::---,g::---,o::---]
162 root/a/4 [u::---,g::---,o::---]
163 root/a/4/mumble [u::---,g::---,o::---]
164 root/a/5 [u::---,g::---,o::---]
165 root/a/5/mumble [u::---,g::---,o::---]
166 root/a/6 [u::---,g::---,o::---]
167 root/a/6/mumble [u::---,g::---,o::---]
168 root/a/7 [u::---,g::---,o::---]
169 root/a/7/mumble [u::---,g::---,o::---]
170 root/a/8 [u::---,g::---,o::---]
171 root/a/8/mumble [u::---,g::---,o::---]
172 root/a/9 [u::---,g::---,o::---]
173 root/a/9/mumble [u::---,g::---,o::---]
174 root/a/0 [u::---,g::---,o::---]
175 root/a/0/mumble [u::---,g::---,o::---]
176 root/b [u::---,g::---,o::---]
177 root/b/c1 [u::---,g::---,o::---]
178 root/b/c1/1 [u::---,g::---,o::---]
179 root/b/c2 [u::---,g::---,o::---]
180 root/b/c2/2 [u::---,g::---,o::---]
181 root/b/c3 [u::---,g::---,o::---]
182 root/b/c3/3 [u::---,g::---,o::---]
183 root/b/c4 [u::---,g::---,o::---]
184 root/b/c4/4 [u::---,g::---,o::---]
185 root/b/c5 [u::---,g::---,o::---]
186 root/b/c5/5 [u::---,g::---,o::---]
187 root/b/c6 [u::---,g::---,o::---]
188 root/b/c6/6 [u::---,g::---,o::---]
189 root/b/c7 [u::---,g::---,o::---]
190 root/b/c7/7 [u::---,g::---,o::---]
191 root/b/c8 [u::---,g::---,o::---]
192 root/b/c8/8 [u::---,g::---,o::---]
193 root/b/c9 [u::---,g::---,o::---]
194 root/b/c9/9 [u::---,g::---,o::---]
195 root/b/c0 [u::---,g::---,o::---]
196 root/b/c0/0 [u::---,g::---,o::---]