Acutally, lchmod, lchown and lutimes may set errno to ELOOP.

This commit is contained in:
enami 1997-10-06 08:22:58 +00:00
parent 07e169df74
commit f67a987e2d
3 changed files with 9 additions and 21 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: chmod.2,v 1.12 1997/10/06 01:12:04 enami Exp $
.\" $NetBSD: chmod.2,v 1.13 1997/10/06 08:22:58 enami Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -142,6 +142,8 @@ Otherwise, a value of -1 is returned and
is set to indicate the error.
.Sh ERRORS
.Fn Chmod
and
.Fn lchmod
will fail and the file mode will be unchanged if:
.Bl -tag -width Er
.It Bq Er ENOTDIR
@ -178,12 +180,6 @@ and
does not refer to a directory.
.El
.Pp
.Fn Lchmod
is like
.Fn chmod
except that it doesn't return
.Er ELOOP .
.Pp
.Fn Fchmod
will fail if:
.Bl -tag -width Er

View File

@ -1,4 +1,4 @@
.\" $NetBSD: chown.2,v 1.13 1997/10/06 01:12:05 enami Exp $
.\" $NetBSD: chown.2,v 1.14 1997/10/06 08:22:59 enami Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@ -102,6 +102,8 @@ error code being placed in the global variable
.Va errno .
.Sh ERRORS
.Fn Chown
and
.Fn lchown
will fail and the file will be unchanged if:
.Bl -tag -width Er
.It Bq Er ENOTDIR
@ -129,12 +131,6 @@ points outside the process's allocated address space.
An I/O error occurred while reading from or writing to the file system.
.El
.Pp
.Fn Lchown
is like
.Fn chown
execpt that it doesn't return
.Er ELOOP .
.Pp
.Fn Fchown
will fail if:
.Bl -tag -width Er

View File

@ -1,4 +1,4 @@
.\" $NetBSD: utimes.2,v 1.10 1997/10/06 01:12:06 enami Exp $
.\" $NetBSD: utimes.2,v 1.11 1997/10/06 08:23:00 enami Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@ -94,6 +94,8 @@ Otherwise, a value of -1 is returned and
is set to indicate the error.
.Sh ERRORS
.Fn Utimes
and
.Fn lutimes
will fail if:
.Bl -tag -width Er
.It Bq Er EACCES
@ -135,12 +137,6 @@ does not match the owner of the file and is not the super-user.
The file system containing the file is mounted read-only.
.El
.Pp
.Fn Lutimes
is like
.Fn utimes
except that it doesn't return
.Er ELOOP .
.Pp
.Fn Futimes
will fail if:
.Bl -tag -width Er