Date: Tue, 20 Oct 1998 17:30:55 +1000 From: Bruce Evans <bde@zeta.org.au> To: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, msmith@FreeBSD.ORG Subject: Re: cvs commit: src/bin/mkdir mkdir.c Message-ID: <199810200730.RAA07647@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
> Modified files: > bin/mkdir mkdir.c > Log: > - mkdir -m should call chmod because the high-order bits get ignored > by the kernel as a security feature of some sort. > > Submitted by: Wilfredo Sanchez <wsanchez@apple.com> > > Revision Changes Path > 1.12 +19 -1 src/bin/mkdir/mkdir.c This doesn't even compile. If it compiled, I think it would break the mode for intermediate directories created by mkdir -p. This bogotifies the umask() microoptimizations. This has some style bugs. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810200730.RAA07647>