Lines Matching +full:non +full:- +full:sticky
3 # $FreeBSD: head/tools/regression/pjdfstest/tests/granular/02.t 211352 2010-08-15 21:24:17Z pjd $
5 desc="NFSv4 granular permissions checking - ACL_READ_ACL and ACL_WRITE_ACL"
25 expect 0 -u 65534 -g 65534 readacl ${n0}
28 expect EACCES -u 65534 -g 65534 readacl ${n0}
30 expect 0 -u 65534 -g 65534 readacl ${n0}
36 expect EPERM -u 65534 -g 65534 prependacl ${n0} user:65534:read_data::allow
38 expect 0 -u 65534 -g 65534 prependacl ${n0} user:65534:read_data::allow
43 expect EPERM -u 65534 -g 65534 chmod ${n0} 0777
45 expect 0 -u 65534 -g 65534 chmod ${n0} 0777
63 expect EPERM -u 65534 -g 65534 chmod ${n0} 04777
65 expect EPERM -u 65534 -g 65534 chmod ${n0} 04777
70 expect EPERM -u 65534 -g 65534 chmod ${n0} 02777
72 expect EPERM -u 65534 -g 65534 chmod ${n0} 02777
75 # Check whether user 65534 is allowed to write mode with sticky bit.
77 expect EPERM -u 65534 -g 65534 chmod ${n0} 01777
79 expect 0 -u 65534 -g 65534 chmod ${n0} 01777
82 # Check whether modifying the ACL by not-owner preserves the SUID.
85 expect 0 -u 65534 -g 65534 prependacl ${n0} user:65534:write_data::allow
89 # Check whether modifying the ACL by not-owner preserves the SGID.
92 expect 0 -u 65534 -g 65534 prependacl ${n0} user:65534:write_data::allow
96 # Check whether modifying the ACL by not-owner preserves the sticky bit.
100 expect 0 -u 65534 -g 65534 prependacl ${n0} user:65534:write_data::allow
104 # Clearing the SUID and SGID bits when being written to by non-owner
110 expect 0 -u 65534 -g 65534 create ${n0} 0600
111 expect 0 -u 65534 -g 65534 prependacl ${n0} user:65534:write_acl::deny
112 expect 0 -u 65534 -g 65534 prependacl ${n0} user:65534:read_acl::deny
113 expect 0 -u 65534 -g 65534 readacl ${n0}
114 expect 0600 -u 65534 -g 65534 stat ${n0} mode
115 expect 0 -u 65534 -g 65534 chmod ${n0} 0777
118 expect 0 -u 65534 -g 65534 mkdir ${n0} 0600
119 expect 0 -u 65534 -g 65534 prependacl ${n0} user:65534:write_acl::deny
120 expect 0 -u 65534 -g 65534 prependacl ${n0} user:65534:read_acl::deny
121 expect 0 -u 65534 -g 65534 readacl ${n0}
122 expect 0600 -u 65534 -g 65534 stat ${n0} mode
123 expect 0 -u 65534 -g 65534 chmod ${n0} 0777
127 expect 0 -u 65534 -g 65534 create ${n0} 0600
135 expect 0 -u 65534 -g 65534 mkdir ${n0} 0600