svn commit: r229466 - head/usr.sbin/mptable

Pawel Jakub Dawidek pjd at
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             
FreeBSD committer               
Am I Evil? Yes, I Am!           
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url :

More information about the svn-src-all mailing list