You should use the umask function, see the manuel here: http://fr2.php.net/manual/fr/function.umask.php
In return, I see you're using quanta 3.3 on kde 3.2. I'm trying to compile this version on a Mandrake 10.0 but get error about unfound libxslt. Though, Libxslt is yet installed. Any suggestion ?

Thanks

KM Chen