chmod.2 (69051) | chmod.2 (70481) |
---|---|
1.\" Copyright (c) 1980, 1991, 1993 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.\" @(#)chmod.2 8.1 (Berkeley) 6/4/93 | 1.\" Copyright (c) 1980, 1991, 1993 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.\" @(#)chmod.2 8.1 (Berkeley) 6/4/93 |
33.\" $FreeBSD: head/lib/libc/sys/chmod.2 69051 2000-11-22 16:02:00Z ru $ | 33.\" $FreeBSD: head/lib/libc/sys/chmod.2 70481 2000-12-29 14:08:20Z ru $ |
34.\" 35.Dd June 4, 1993 36.Dt CHMOD 2 37.Os BSD 4 38.Sh NAME 39.Nm chmod , 40.Nm fchmod , 41.Nm lchmod --- 148 unchanged lines hidden (view full) --- 190.El 191.Pp 192.Fn Fchmod 193will fail if: 194.Bl -tag -width Er 195.It Bq Er EBADF 196The descriptor is not valid. 197.It Bq Er EINVAL | 34.\" 35.Dd June 4, 1993 36.Dt CHMOD 2 37.Os BSD 4 38.Sh NAME 39.Nm chmod , 40.Nm fchmod , 41.Nm lchmod --- 148 unchanged lines hidden (view full) --- 190.El 191.Pp 192.Fn Fchmod 193will fail if: 194.Bl -tag -width Er 195.It Bq Er EBADF 196The descriptor is not valid. 197.It Bq Er EINVAL |
198.Fa Fd | 198.Fa fd |
199refers to a socket, not to a file. 200.It Bq Er EROFS 201The file resides on a read-only file system. 202.It Bq Er EIO 203An I/O error occurred while reading from or writing to the file system. 204.El 205.Sh SEE ALSO 206.Xr chmod 1 , --- 27 unchanged lines hidden --- | 199refers to a socket, not to a file. 200.It Bq Er EROFS 201The file resides on a read-only file system. 202.It Bq Er EIO 203An I/O error occurred while reading from or writing to the file system. 204.El 205.Sh SEE ALSO 206.Xr chmod 1 , --- 27 unchanged lines hidden --- |