Date: Tue, 16 Jan 2007 15:17:27 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/sys chmod.2 Message-ID: <200701161517.l0GFHRVM044302@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701161517.l0GFHRVM044302>
