Home
last modified time | relevance | path

Searched refs:chown (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/freebsd/usr.sbin/chown/tests/
H A Dchown_test.sh46 atf_check chown -h 42:42 A/C
48 atf_check chown -RH 84:84 A
50 atf_check chown -RH 126:126 A/C
66 atf_check chown -h 42:42 A/C
68 atf_check chown -RL 84:84 A
70 atf_check chown -RL 126:126 A/C
86 atf_check chown -h 42:42 A/C
88 atf_check chown -RP 84:84 A
90 atf_check chown -RP 126:126 A/C
106 atf_check chown 0:0 foo bar
[all …]
/freebsd/contrib/pjdfstest/tests/chown/
H A D00.t29 expect 0 chown ${n0} 123 456
31 expect 0 chown ${n0} 0 0
36 expect 0 chown ${n1} 123 456
65 expect 0 chown ${n0} 65534 65533
67 expect 0 -u 65534 -g 65532,65531 -- chown ${n0} -1 65532
69 expect 0 -u 65534 -g 65532,65531 chown ${n0} 65534 65531
74 expect 0 chown ${n1} 65534 65533
78 expect 0 -u 65534 -g 65532,65531 -- chown ${n1} -1 65532
82 expect 0 -u 65534 -g 65532,65531 chown ${n1} 65534 65531
115 expect 0 chown ${n0} 65534 65533
[all …]
H A D08.t27 expect EPERM chown ${n0} 65534 65534
30 expect 0 chown ${n0} 65534 65534
36 expect 0 chown ${n0} 65534 65534
45 expect 0 chown ${n0} 65534 65534
53 expect EPERM chown ${n0} 65534 65534
56 expect 0 chown ${n0} 65534 65534
62 expect EPERM chown ${n0} 65534 65534
65 expect 0 chown ${n0} 65534 65534
71 expect 0 chown ${n0} 65534 65534
78 expect EPERM chown ${n0} 65534 65534
[all …]
H A D07.t21 expect 0 chown ${n1} 65534 65534
25 expect EPERM -u 65534 -g 65534 chown ${n1}/${n2} 65533 65533
26 expect EPERM -u 65533 -g 65533 chown ${n1}/${n2} 65534 65534
27 expect EPERM -u 65533 -g 65533 chown ${n1}/${n2} 65533 65533
28 expect EPERM -u 65534 -g 65534 -- chown ${n1}/${n2} -1 65533
30 expect EPERM -u 65534 -g 65534 chown ${n1}/${n3} 65533 65533
31 expect EPERM -u 65533 -g 65533 chown ${n1}/${n3} 65534 65534
32 expect EPERM -u 65533 -g 65533 chown ${n1}/${n3} 65533 65533
33 expect EPERM -u 65534 -g 65534 -- chown ${n1}/${n3} -1 65533
H A D06.t17 expect ELOOP chown ${n0} 65534 65534
18 expect ELOOP chown ${n1} 65534 65534
19 expect ELOOP chown ${n0}/test 65534 65534
20 expect ELOOP chown ${n1}/test 65534 65534
H A D05.t20 expect 0 chown ${n1} 65534 65534
22 expect 0 -u 65534 -g 65533,65534 -- chown ${n1}/${n2} -1 65533
25 expect EACCES -u 65534 -g 65533,65534 -- chown ${n1}/${n2} -1 65534
29 expect 0 -u 65534 -g 65533,65534 -- chown ${n1}/${n2} -1 65534
H A D04.t17 expect ENOENT chown ${n0}/${n1}/test 65534 65534
18 expect ENOENT chown ${n0}/${n1} 65534 65534
22 expect ENOENT chown ${n0}/${n1} 65534 65534
H A D09.t22 expect 0 chown ${n0}/${n1} 65534 65534
25 expect EROFS chown ${n0}/${n1} 65533 65533
28 expect 0 chown ${n0}/${n1} 65533 65533
H A D10.t12 expect EFAULT chown NULL 65534 65534
13 expect EFAULT chown DEADCODE 65534 65534
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/acl/off/
H A Dposixmode.ksh75 log_must chown :$wheel $dir
80 log_must chown :$wheel $file
85 log_must chown :$wheel $file
90 log_must chown :$group $file
95 log_must chown :$group $file
99 log_must chown :$group $file
106 log_must chown :$group $dir
111 log_must chown :$wheel $file
116 log_must chown :$wheel $file
123 log_must chown $owner:$group $file
/freebsd/contrib/pjdfstest/tests/granular/
H A D04.t24 expect EPERM -u 65534 -g 65532,65531 chown ${n0} -1 65532
27 expect EPERM -u 65534 -g 65532,65531 chown ${n0} -1 65530
29 expect 0 -u 65534 -g 65532,65531 chown ${n0} -1 65532
36 expect EPERM -u 65534 -g 65532,65531 chown ${n0} 65534 65531
39 expect EPERM -u 65534 -g 65532,65531 chown ${n0} 65530 65531
41 expect 0 -u 65534 -g 65532,65531 chown ${n0} 65534 65531
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/user_namespace/
H A Duser_namespace_001.ksh67 log_must chown 0:0 $TESTDIR/rroot_rroot
68 log_must chown $ROOT_UID:$ROOT_UID $TESTDIR/uroot_uroot
69 log_must chown $ROOT_UID:$OTHER_UID $TESTDIR/uroot_other
70 log_must chown $OTHER_UID:$ROOT_UID $TESTDIR/uother_uroot
71 log_must chown $OTHER_UID:$OTHER_UID $TESTDIR/uother_uother
/freebsd/contrib/pjdfstest/tests/rename/
H A D10.t23 expect 0 chown ${n0} 65534 65534
30 expect 0 chown ${n1} 65534 65534
48 expect 0 chown ${n1} 65534 65534
67 expect 0 chown ${n1} ${id} ${id}
86 expect 0 chown ${n1} ${id} ${id}
103 expect 0 chown ${n1} 65534 65534
115 expect 0 chown ${n1} 65534 65534
128 expect 0 chown ${n1} ${id} ${id}
141 expect 0 chown ${n1} ${id} ${id}
H A D09.t24 expect 0 chown ${n0} 65534 65534
27 expect 0 chown ${n1} 65534 65534
31 expect 0 chown ${n0} 65534 65534
49 expect 0 chown ${n0} 65534 65534
68 expect 0 chown ${n0} ${id} ${id}
87 expect 0 chown ${n0} ${id} ${id}
106 expect 0 chown ${n0} 65534 65534
126 expect 0 chown ${n0} 65534 65534
154 expect 0 chown ${n0} ${id} ${id}
172 expect 0 chown ${n0} ${id} ${id}
/freebsd/contrib/pjdfstest/tests/unlink/
H A D11.t22 expect 0 chown ${n0} 65534 65534
26 expect 0 chown ${n0} 65534 65534
34 expect 0 chown ${n0} 65534 65534
43 expect 0 chown ${n0} ${id} ${id}
52 expect 0 chown ${n0} ${id} ${id}
/freebsd/usr.sbin/chown/
H A DMakefile3 PROG= chown
4 LINKS= ${BINDIR}/chown /usr/bin/chgrp
5 MAN= chgrp.1 chown.8
/freebsd/contrib/pjdfstest/tests/rmdir/
H A D11.t21 expect 0 chown ${n0} 65534 65534
31 expect 0 chown ${n0} ${id} ${id}
38 expect 0 chown ${n0} 65534 65534
47 expect 0 chown ${n0} ${id} ${id}
/freebsd/contrib/pjdfstest/tests/chmod/
H A D07.t25 expect 0 chown ${n1} 65534 65534
32 expect 0 chown ${n1}/${n2} 0 0
43 expect 0 chown ${n1}/${n3} 0 0
55 expect 0 chown ${n1}/${n2} 0 0
/freebsd/usr.bin/tftp/tests/
H A Dtftp_test.sh211 chown nobody:nogroup "${remote_file}"
233 chown nobody:nogroup "${remote_file}"
255 chown nobody:nogroup "${remote_file}"
278 chown nobody:nogroup "${remote_file}"
300 chown nobody:nogroup "${remote_file}"
322 chown nobody:nogroup "${remote_file}"
346 chown nobody:nogroup "${tftp_dir}/subdir/${f}.txt"
374 chown nobody:nogroup "${tftp_dir}/subdir/${f}.txt"
/freebsd/contrib/netbsd-tests/fs/tmpfs/
H A Dt_setattr.sh33 atf_test_case chown
43 atf_check -s eq:0 -o empty -e empty chown 1234 own
111 atf_check -s eq:0 -o empty -e empty chown 1234:5678 owngrp
206 atf_add_test_case chown
H A Dt_create.sh57 chown ${user} .
76 atf_check -s eq:0 -o empty -e empty chown ${user}:0 b
81 atf_check -s eq:0 -o empty -e empty chown ${user}:100 c
/freebsd/tools/regression/priv/
H A Dpriv_vfs_chown.c73 error = chown(fpath, UID_OWNER, -1); in priv_vfs_chown_uid()
107 error = chown(fpath, -1, asroot ? GID_WHEEL : GID_OWNER); in priv_vfs_chown_mygid()
141 error = chown(fpath, -1, GID_OTHER); in priv_vfs_chown_othergid()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/idmap_mount/
H A Didmap_mount_002.ksh61 log_must chown $UID1:$GID1 $WORKDIR
85 log_must $SETPRIV chown $UID2:$GID2 $IDMAPDIR/subdir/file2
86 log_mustnot $SETPRIV chown $UID1 $IDMAPDIR/subdir/file2
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/acl/posix/
H A Dposix_004_pos.ksh47 log_must chown $ZFS_ACL_STAFF1 $TESTDIR
50 log_must chown 0 $TESTDIR
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/acl/posix-sa/
H A Dposix_004_pos.ksh47 log_must chown $ZFS_ACL_STAFF1 $TESTDIR
50 log_must chown 0 $TESTDIR

12345678910>>...12