Date: Wed, 11 Oct 2006 00:19:00 +0400 From: Ruslan Ermilov <ru@FreeBSD.org> To: Alex Unleashed <unledev@gmail.com> Cc: hackers@FreeBSD.org Subject: Re: mkdir -m option POSIX compliance Message-ID: <20061010201900.GA67123@rambler-co.ru> In-Reply-To: <5e4707340610101100g5dea53e0tc53eaef080c40c87@mail.gmail.com> References: <5e4707340610100624j38ce9f8du7741bd027eb8cb1b@mail.gmail.com> <20061010152433.GA35377@rambler-co.ru> <5e4707340610101100g5dea53e0tc53eaef080c40c87@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 10, 2006 at 08:00:21PM +0200, Alex Unleashed wrote: > On 10/10/06, Ruslan Ermilov <[1]ru@freebsd.org> wrote: >=20 > On Tue, Oct 10, 2006 at 03:24:14PM +0200, Alex Unleashed wrote: > > Hi all, > > > > "mkdir -m mode -p /some/directory" calls chmod() on /some/directory > even if > > it already exists, effectively changing the mode. POSIX specifies = that > this > > mode may only be applied to newly created directories. Patch attac= hed. > > Please look at the URLs referenced in the patch for further > information. > > > I've modified your patch slightly, to save a variable. > How does this look to you? >=20 > Looks good to me. >=20 OK, committed. --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --EVF5PPMfhYS0aIcm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFLAA0qRfpzJluFF4RAmT8AKCVBFWoctNBYrFBDVdco/p+FRO1+wCgnXP4 HnPE7y3iXaIPlMNHD8C5Uv0= =K3lq -----END PGP SIGNATURE----- --EVF5PPMfhYS0aIcm--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061010201900.GA67123>