diff options
author | pjd <pjd@FreeBSD.org> | 2006-12-13 11:46:38 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2006-12-13 11:46:38 +0000 |
commit | 05020e0446bdf8168e0d424c3b87113236277b66 (patch) | |
tree | 1b4fe7ae5da5b2fb5952ad71c46a2861adb9bd3f | |
parent | 22da39b273902a2b8d3d506674a31d753a78a448 (diff) | |
download | FreeBSD-src-05020e0446bdf8168e0d424c3b87113236277b66.zip FreeBSD-src-05020e0446bdf8168e0d424c3b87113236277b66.tar.gz |
Be more precise with EPERM description. When chown(2) is a no-op, it will
return 0.
-rw-r--r-- | lib/libc/sys/chown.2 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/sys/chown.2 b/lib/libc/sys/chown.2 index 411bffa..5518fad 100644 --- a/lib/libc/sys/chown.2 +++ b/lib/libc/sys/chown.2 @@ -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 |