diff options
Diffstat (limited to 'man2/chown.2')
-rw-r--r-- | man2/chown.2 | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/man2/chown.2 b/man2/chown.2 index 018f1448..513edbaf 100644 --- a/man2/chown.2 +++ b/man2/chown.2 @@ -83,7 +83,7 @@ is set appropriately. .SH ERRORS Depending on the file system, other errors can be returned. The more general errors for -.B chown +.BR chown () are listed below. .TP .B EACCES @@ -120,7 +120,7 @@ The calling process did not have the required permissions The named file resides on a read-only file system. .PP The general errors for -.B fchown +.BR fchown () are listed below: .TP .B EBADF @@ -139,36 +139,36 @@ See above. See above. .SH NOTES In versions of Linux prior to 2.1.81 (and distinct from 2.1.46), -.B chown +.BR chown () did not follow symbolic links. Since Linux 2.1.81, -.B chown +.BR chown () does follow symbolic links, and there is a new system call -.B lchown +.BR lchown () that does not follow symbolic links. Since Linux 2.1.86, this new call (that has the same semantics as the old -.BR chown ) +.BR chown ()) has got the same syscall number, and -.B chown +.BR chown () got the newly introduced number. .LP The prototype for -.B fchown +.BR fchown () is only available if .B _BSD_SOURCE is defined (either explicitly, or implicitly, by not defining _POSIX_SOURCE or compiling with the \-ansi flag). .SH "CONFORMING TO" The -.B chown +.BR chown () call conforms to SVr4, SVID, POSIX, X/OPEN. The 4.4BSD version can only be used by the superuser (that is, ordinary users cannot give away files). SVr4 documents EINVAL, EINTR, ENOLINK and EMULTIHOP returns, but no ENOMEM. POSIX.1 does not document ENOMEM or ELOOP error conditions. .PP The -.B fchown +.BR fchown () call conforms to 4.4BSD and SVr4. SVr4 documents additional EINVAL, EIO, EINTR, and ENOLINK error conditions. .SH RESTRICTIONS |