fsx: increase number of logged operations
[xfstests-dev.git] / nfs4acl / chmod.test
1 $ mkdir d
2 $ cd d
3
4 $ whoami
5 > root
6
7 $ touch a
8         
9 Neet to have write_acl permission to chmod or set the acl:
10         $ su bin
11         $ chmod 666 a
12         > chmod: changing permissions of `a': Operation not permitted
13         $ nfs4acl --set 'bin:rwM::allow' a
14         > a: Operation not permitted
15         
16 $ su
17 $ nfs4acl --set 'bin:rwm::allow' a
18         
19 Can set the acl now:
20         $ su bin
21         $ nfs4acl --set 'bin:rwm::allow' a
22         
23 A chmod limits the permissions to the specified mode, which always disables
24 write_acl:
25         $ chmod 666 a
26         $ nfs4acl --set 'bin:rwm::allow' a
27         > a: Operation not permitted
28
29 $ su
30 $ cd ..
31 $ rm -rf d