Be more precise with EPERM description. When chown(2) is a no-op, it will

return 0.
This commit is contained in:
Pawel Jakub Dawidek 2006-12-13 11:46:38 +00:00
parent e4c1f0293f
commit 0b149517f3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165167

View File

@ -118,7 +118,8 @@ Search permission is denied for a component of the path prefix.
.It Bq Er ELOOP
Too many symbolic links were encountered in translating the pathname.
.It Bq Er EPERM
The effective user ID is not the super-user.
The operation would change the ownership, but 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