mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
If the named file has its immutable or append-only flag set, utimes(2)
returns EPERM.
This commit is contained in:
parent
90e405668e
commit
e799094d84
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165056
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue