Searched refs:chown (Results 1 - 25 of 183) sorted by relevance

12345678

/freebsd-9.3-release/usr.sbin/chown/
H A DMakefile4 PROG= chown
5 LINKS= ${BINDIR}/chown /usr/bin/chgrp
6 MAN= chgrp.1 chown.8
/freebsd-9.3-release/crypto/heimdal/lib/roken/
H A Dchown.c36 RCSID("$Id: chown.c 14773 2005-04-12 11:29:18Z lha $");
42 chown(const char *path, uid_t owner, gid_t group) function
/freebsd-9.3-release/tools/regression/pjdfstest/tests/chown/
H A D10.t4 desc="chown returns EFAULT if the path argument points outside the process's allocated address space"
11 expect EFAULT chown NULL 65534 65534
12 expect EFAULT chown DEADCODE 65534 65534
H A D06.t4 desc="chown returns ELOOP if too many symbolic links were encountered in translating the pathname"
16 expect ELOOP chown ${n0} 65534 65534
17 expect ELOOP chown ${n1} 65534 65534
18 expect ELOOP chown ${n0}/test 65534 65534
19 expect ELOOP chown ${n1}/test 65534 65534
H A D07.t4 desc="chown returns EPERM if the operation would change the ownership, but the effective user ID is not the super-user and the process is not an owner of the file"
20 expect 0 chown ${n1} 65534 65534
24 expect EPERM -u 65534 -g 65534 chown ${n1}/${n2} 65533 65533
25 expect EPERM -u 65533 -g 65533 chown ${n1}/${n2} 65534 65534
26 expect EPERM -u 65533 -g 65533 chown ${n1}/${n2} 65533 65533
27 expect EPERM -u 65534 -g 65534 -- chown ${n1}/${n2} -1 65533
29 expect EPERM -u 65534 -g 65534 chown ${n1}/${n3} 65533 65533
30 expect EPERM -u 65533 -g 65533 chown ${n1}/${n3} 65534 65534
31 expect EPERM -u 65533 -g 65533 chown ${n1}/${n3} 65533 65533
32 expect EPERM -u 65534 -g 65534 -- chown
[all...]
H A D04.t4 desc="chown returns ENOENT if the named file does not exist"
16 expect ENOENT chown ${n0}/${n1}/test 65534 65534
17 expect ENOENT chown ${n0}/${n1} 65534 65534
21 expect ENOENT chown ${n0}/${n1} 65534 65534
H A D08.t4 desc="chown returns EPERM if the named file has its immutable or append-only flag set"
26 expect EPERM chown ${n0} 65534 65534
29 expect 0 chown ${n0} 65534 65534
35 expect 0 chown ${n0} 65534 65534
44 expect 0 chown ${n0} 65534 65534
52 expect EPERM chown ${n0} 65534 65534
55 expect 0 chown ${n0} 65534 65534
61 expect EPERM chown ${n0} 65534 65534
64 expect 0 chown ${n0} 65534 65534
70 expect 0 chown
[all...]
H A D05.t4 desc="chown returns EACCES when search permission is denied for a component of the path prefix"
19 expect 0 chown ${n1} 65534 65534
21 expect 0 -u 65534 -g 65533,65534 -- chown ${n1}/${n2} -1 65533
24 expect EACCES -u 65534 -g 65533,65534 -- chown ${n1}/${n2} -1 65534
28 expect 0 -u 65534 -g 65533,65534 -- chown ${n1}/${n2} -1 65534
H A D02.t4 desc="chown returns ENAMETOOLONG if a component of a pathname exceeded ${NAME_MAX} characters"
15 expect 0 chown ${nx} 65534 65534
18 expect ENAMETOOLONG chown ${nxx} 65534 65534
H A D03.t4 desc="chown returns ENAMETOOLONG if an entire path name exceeded {PATH_MAX} characters"
17 expect 0 chown ${nx} 65534 65534
20 expect ENAMETOOLONG chown ${nxx} 65534 65534
H A D00.t4 desc="chown changes ownership"
28 expect 0 chown ${n0} 123 456
30 expect 0 chown ${n0} 0 0
35 expect 0 chown ${n1} 123 456
64 expect 0 chown ${n0} 65534 65533
66 expect 0 -u 65534 -g 65532,65531 -- chown ${n0} -1 65532
68 expect 0 -u 65534 -g 65532,65531 chown ${n0} 65534 65531
73 expect 0 chown ${n1} 65534 65533
77 expect 0 -u 65534 -g 65532,65531 -- chown ${n1} -1 65532
81 expect 0 -u 65534 -g 65532,65531 chown
[all...]
H A D09.t4 desc="chown returns EROFS if the named file resides on a read-only file system"
21 expect 0 chown ${n0}/${n1} 65534 65534
24 expect EROFS chown ${n0}/${n1} 65533 65533
27 expect 0 chown ${n0}/${n1} 65533 65533
H A D01.t4 desc="chown returns ENOTDIR if a component of the path prefix is not a directory"
17 expect ENOTDIR chown ${n0}/${n1}/test 65534 65534
/freebsd-9.3-release/contrib/ipfilter/
H A Dbsdinstall9 chown="chown root"
12 chown="chown -f root"
27 -o ) chown="chown -f $2"
86 $chown $file
/freebsd-9.3-release/tools/regression/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
45 # When non-owner calls chown(2) successfully, set-uid and set-gid bits are
51 expect 0 -u 65534 -g 65533,65532 chown ${n0} 65534 65532
55 expect 0 -u 65534 -g 65533,65532 chown ${n0} -1 65533
59 expect 0 -u 65534 -g 65533,65532 chown
[all...]
/freebsd-9.3-release/contrib/top/
H A Dinstall-sh62 chown $owner $dest
/freebsd-9.3-release/tools/regression/pjdfstest/tests/unlink/
H A D11.t21 expect 0 chown ${n0} 65534 65534
25 expect 0 chown ${n0} 65534 65534
33 expect 0 chown ${n0} 65534 65534
42 expect 0 chown ${n0} ${id} ${id}
51 expect 0 chown ${n0} ${id} ${id}
/freebsd-9.3-release/contrib/dialog/samples/copifuncs/
H A Dadmin.funcs34 chown fnet.uucp $NODEDIR/$FOR_DOMAIN.ndl
102 chown news.news $NEWSGROUPS $EXPIRECTL
104 chown fnet.uucp $AREAS
138 chown news.news $NEWSGROUPS
150 chown fnet.uucp $AREAS
162 chown news.news $EXPIRE
170 chown news.news $EXPIRE
198 chown news.news $EXPIRE
/freebsd-9.3-release/tools/regression/pjdfstest/tests/rmdir/
H A D11.t20 expect 0 chown ${n0} 65534 65534
30 expect 0 chown ${n0} ${id} ${id}
37 expect 0 chown ${n0} 65534 65534
46 expect 0 chown ${n0} ${id} ${id}
/freebsd-9.3-release/tools/regression/priv/
H A Dpriv_vfs_chown.c34 * Confirm that privilege is required in the cases using chown():
75 error = chown(fpath, UID_OWNER, -1);
109 error = chown(fpath, -1, asroot ? GID_WHEEL : GID_OWNER);
143 error = chown(fpath, -1, GID_OTHER);
/freebsd-9.3-release/release/i386/
H A Dfixit_crunch.conf45 progs chown
47 ln chown chgrp
/freebsd-9.3-release/release/pc98/
H A Dfixit-small_crunch.conf40 progs chown
41 ln chown chgrp
H A Dfixit_crunch.conf44 progs chown
45 ln chown chgrp
/freebsd-9.3-release/tools/regression/pjdfstest/tests/link/
H A D06.t22 expect 0 chown ${n1} 65534 65534
24 expect 0 chown ${n2} 65534 65534
H A D07.t22 expect 0 chown ${n1} 65534 65534
24 expect 0 chown ${n2} 65534 65534

Completed in 127 milliseconds

12345678