diff options
author | pjd <pjd@FreeBSD.org> | 2006-12-09 23:13:05 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2006-12-09 23:13:05 +0000 |
commit | c3cd93f7561572c435768367e6937a8e2737f109 (patch) | |
tree | f7e7f576ce87d3ef69d936957d65ace43fc48db4 /lib/libc/sys/utimes.2 | |
parent | a890a19a05e940554007739163e7e62992767e13 (diff) | |
download | FreeBSD-src-c3cd93f7561572c435768367e6937a8e2737f109.zip FreeBSD-src-c3cd93f7561572c435768367e6937a8e2737f109.tar.gz |
If the named file has its immutable or append-only flag set, utimes(2)
returns EPERM.
Diffstat (limited to 'lib/libc/sys/utimes.2')
-rw-r--r-- | lib/libc/sys/utimes.2 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/sys/utimes.2 b/lib/libc/sys/utimes.2 index 7c8750c..f8532a6 100644 --- a/lib/libc/sys/utimes.2 +++ b/lib/libc/sys/utimes.2 @@ -34,7 +34,7 @@ .\" @(#)utimes.2 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd January 5, 2006 +.Dd December 9, 2006 .Dt UTIMES 2 .Os .Sh NAME @@ -148,6 +148,10 @@ argument is not .Dv NULL and the calling process's effective user ID does not match the owner of the file and is not the super-user. +.It Bq Er EPERM +The named file has its immutable or append-only flag set, see the +.Xr chflags 2 +manual page for more information. .It Bq Er EROFS The file system containing the file is mounted read-only. .El @@ -198,6 +202,7 @@ 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 .Sh SEE ALSO +.Xr chflags 2 , .Xr stat 2 , .Xr utime 3 .Sh HISTORY |