Date: Sat, 7 Jan 2012 20:55:58 +0100 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Ronald Klop <ronald-freebsd8@klop.yi.org> Cc: svn-src-all@freebsd.org Subject: Re: svn commit: r229466 - head/usr.sbin/mptable Message-ID: <20120107195557.GA1674@garage.freebsd.pl> In-Reply-To: <op.v7pvrwk38527sy@pinky> References: <201201040704.q0474iIe065299@svn.freebsd.org> <op.v7pvrwk38527sy@pinky>
next in thread | previous in thread | raw e-mail | index | archive | help
--0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 07, 2012 at 02:58:34PM +0100, Ronald Klop wrote: > I don't know much about this code, but is chmod 0666 really wat is wanted= =20 > here (and in the commits following this one)? It makes the file world =20 > writable. And that smells funny. :-) File permission during creation is always ANDed with process' umask. Most of the time umask is 022, so result file permission will be 0644. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com --0OAP2g/MAC+5xKAE Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk8Io00ACgkQForvXbEpPzSnJwCcDGhtjtubcpglpy13IdSYLmf7 xvwAoMf7CdbufeJHBhC07YcZOlddeNWR =yBTt -----END PGP SIGNATURE----- --0OAP2g/MAC+5xKAE--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120107195557.GA1674>