diff options
author | pjd <pjd@FreeBSD.org> | 2006-12-09 22:41:26 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2006-12-09 22:41:26 +0000 |
commit | 6f1b6d133cfc7209d3cf7535af07f5a780803894 (patch) | |
tree | 35b205d2389e3685def4edee76bd7fec8c6d552f /lib | |
parent | 3d3c519dec674fdc93ef7ddaad6abbc8f176ceb5 (diff) | |
download | FreeBSD-src-6f1b6d133cfc7209d3cf7535af07f5a780803894.zip FreeBSD-src-6f1b6d133cfc7209d3cf7535af07f5a780803894.tar.gz |
If the named file has its immutable flag set, chown(2) returns EPERM.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/chown.2 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/sys/chown.2 b/lib/libc/sys/chown.2 index 555ee38..411bffa 100644 --- a/lib/libc/sys/chown.2 +++ b/lib/libc/sys/chown.2 @@ -32,7 +32,7 @@ .\" @(#)chown.2 8.4 (Berkeley) 4/19/94 .\" $FreeBSD$ .\" -.Dd April 19, 1994 +.Dd December 9, 2006 .Dt CHOWN 2 .Os .Sh NAME @@ -119,6 +119,10 @@ Search permission is denied for a component of the path prefix. Too many symbolic links were encountered in translating the pathname. .It Bq Er EPERM The effective user ID is not the super-user. +.It Bq Er EPERM +The named file has its immutable flag set, see the +.Xr chflags 2 +manual page for more information. .It Bq Er EROFS The named file resides on a read-only file system. .It Bq Er EFAULT @@ -153,6 +157,7 @@ An I/O error occurred while reading from or writing to the file system. .El .Sh SEE ALSO .Xr chgrp 1 , +.Xr chflags 2 , .Xr chmod 2 , .Xr flock 2 , .Xr chown 8 |