chown.2 (108028) | chown.2 (108087) |
---|---|
1.\" Copyright (c) 1980, 1991, 1993, 1994 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)chown.2 8.4 (Berkeley) 4/19/94 | 1.\" Copyright (c) 1980, 1991, 1993, 1994 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)chown.2 8.4 (Berkeley) 4/19/94 |
33.\" $FreeBSD: head/lib/libc/sys/chown.2 108028 2002-12-18 09:22:32Z ru $ | 33.\" $FreeBSD: head/lib/libc/sys/chown.2 108087 2002-12-19 09:40:28Z ru $ |
34.\" 35.Dd April 19, 1994 36.Dt CHOWN 2 37.Os 38.Sh NAME 39.Nm chown , 40.Nm fchown , 41.Nm lchown --- 75 unchanged lines hidden (view full) --- 117Search permission is denied for a component of the path prefix. 118.It Bq Er ELOOP 119Too many symbolic links were encountered in translating the pathname. 120.It Bq Er EPERM 121The effective user ID is not the super-user. 122.It Bq Er EROFS 123The named file resides on a read-only file system. 124.It Bq Er EFAULT | 34.\" 35.Dd April 19, 1994 36.Dt CHOWN 2 37.Os 38.Sh NAME 39.Nm chown , 40.Nm fchown , 41.Nm lchown --- 75 unchanged lines hidden (view full) --- 117Search permission is denied for a component of the path prefix. 118.It Bq Er ELOOP 119Too many symbolic links were encountered in translating the pathname. 120.It Bq Er EPERM 121The effective user ID is not the super-user. 122.It Bq Er EROFS 123The named file resides on a read-only file system. 124.It Bq Er EFAULT |
125.Fa Path | 125The 126.Fa path 127argument |
126points outside the process's allocated address space. 127.It Bq Er EIO 128An I/O error occurred while reading from or writing to the file system. 129.El 130.Pp 131The 132.Fn fchown 133system call will fail if: 134.Bl -tag -width Er 135.It Bq Er EBADF | 128points outside the process's allocated address space. 129.It Bq Er EIO 130An I/O error occurred while reading from or writing to the file system. 131.El 132.Pp 133The 134.Fn fchown 135system call will fail if: 136.Bl -tag -width Er 137.It Bq Er EBADF |
138The |
|
136.Fa fd | 139.Fa fd |
140argument |
|
137does not refer to a valid descriptor. 138.It Bq Er EINVAL | 141does not refer to a valid descriptor. 142.It Bq Er EINVAL |
143The |
|
139.Fa fd | 144.Fa fd |
145argument |
|
140refers to a socket, not a file. 141.It Bq Er EPERM 142The effective user ID is not the super-user. 143.It Bq Er EROFS 144The named file resides on a read-only file system. 145.It Bq Er EIO 146An I/O error occurred while reading from or writing to the file system. 147.El --- 29 unchanged lines hidden --- | 146refers to a socket, not a file. 147.It Bq Er EPERM 148The effective user ID is not the super-user. 149.It Bq Er EROFS 150The named file resides on a read-only file system. 151.It Bq Er EIO 152An I/O error occurred while reading from or writing to the file system. 153.El --- 29 unchanged lines hidden --- |