diff options
author | pjd <pjd@FreeBSD.org> | 2006-12-09 22:41:01 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2006-12-09 22:41:01 +0000 |
commit | 3d3c519dec674fdc93ef7ddaad6abbc8f176ceb5 (patch) | |
tree | 6b4de81c917d2c3d9e459a46d20696b4c4c46f31 /lib/libc/sys/chmod.2 | |
parent | c995b500b24a9093fe9e958ebb2cb46bf38db1a2 (diff) | |
download | FreeBSD-src-3d3c519dec674fdc93ef7ddaad6abbc8f176ceb5.zip FreeBSD-src-3d3c519dec674fdc93ef7ddaad6abbc8f176ceb5.tar.gz |
If the named file has its immutable flag set, chmod(2) returns EPERM.
Diffstat (limited to 'lib/libc/sys/chmod.2')
-rw-r--r-- | lib/libc/sys/chmod.2 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/sys/chmod.2 b/lib/libc/sys/chmod.2 index fc6a932..1efffda 100644 --- a/lib/libc/sys/chmod.2 +++ b/lib/libc/sys/chmod.2 @@ -32,7 +32,7 @@ .\" @(#)chmod.2 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd December 29, 2004 +.Dd December 9, 2006 .Dt CHMOD 2 .Os .Sh NAME @@ -178,6 +178,10 @@ Too many symbolic links were encountered in translating the pathname. .It Bq Er EPERM The effective user ID does not match the owner of the file and 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 @@ -209,6 +213,7 @@ An I/O error occurred while reading from or writing to the file system. .El .Sh SEE ALSO .Xr chmod 1 , +.Xr chflags 2 , .Xr chown 2 , .Xr open 2 , .Xr stat 2 , |