Lines Matching +full:sw +full:- +full:mode
2 # vim: filetype=sh noexpandtab ts=8 sw=8
3 # $FreeBSD: head/tools/regression/pjdfstest/tests/chmod/12.t 219463 2011-03-10 20:59:02Z pjd $
20 # Check whether writing to the file by non-owner clears the SUID.
22 expect 0777 -u 65534 -g 65534 open ${n0} O_WRONLY : write 0 x : fstat 0 mode
23 expect 0777 stat ${n0} mode
26 # Check whether writing to the file by non-owner clears the SGID.
28 expect 0777 -u 65534 -g 65534 open ${n0} O_RDWR : write 0 x : fstat 0 mode
29 expect 0777 stat ${n0} mode
32 # Check whether writing to the file by non-owner clears the SUID+SGID.
34 expect 0777 -u 65534 -g 65534 open ${n0} O_RDWR : write 0 x : fstat 0 mode
35 expect 0777 stat ${n0} mode