svn commit: r229466 - head/usr.sbin/mptable
Pawel Jakub Dawidek
pjd at FreeBSD.org
Sat Jan 7 19:57:08 UTC 2012
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
> here (and in the commits following this one)? It makes the file world
> 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.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://yomoli.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20120107/5ceec2c2/attachment.pgp
More information about the svn-src-all
mailing list