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
pgphp6x40hPY5.pgp
Description: PGP signature