|
Posted by J.O. Aho on 11/18/06 18:29
Not here Not Now wrote:
> $oldumask=umask(0);
> chmod("$username", 0777);
> umask($oldumask);
>
> Ok tried it plain as just umask with out params
>
> Default it should set to 777 still the directory is being created with
> the permission set to 755.
This may have to do with the users umask values, which usually is 0022.
Setting it to 0000 should solve your problem.
//Aho
Navigation:
[Reply to this message]
|