mkdir -m option POSIX compliance
Ruslan Ermilov
ru at FreeBSD.org
Tue Oct 10 13:19:02 PDT 2006
On Tue, Oct 10, 2006 at 08:00:21PM +0200, Alex Unleashed wrote:
> On 10/10/06, Ruslan Ermilov <[1]ru at freebsd.org> wrote:
>
> 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 attached.
> > 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?
>
> Looks good to me.
>
OK, committed.
--
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20061010/bf55f6d0/attachment.pgp
More information about the freebsd-hackers
mailing list