Be more precise with EPERM description. When chown(2) is a no-op, it will
return 0.
This commit is contained in:
parent
e4c1f0293f
commit
0b149517f3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165167
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user