cvs commit: src/lib/libc/sys chmod.2
Pawel Jakub Dawidek
pjd at FreeBSD.org
Tue Jan 16 15:17:28 UTC 2007
pjd 2007-01-16 15:17:27 UTC
FreeBSD src repository
Modified files:
lib/libc/sys chmod.2
Log:
When we try to set set-gid bit with chmod(2) on a file, which we own, but our
effective group ID (and any of our group) doesn't match the group ID of the
file, we get EPERM. This doesn't conform POSIX. POSIX requires that we should
return 0, but silently clear the set-gid bit.
Revision Changes Path
1.37 +5 -1 src/lib/libc/sys/chmod.2
More information about the cvs-src
mailing list