I\'m trying to create a directory on my server using PHP with the command:
mkdir(\"test\", 0777);
But it doesn\'t give full permissions, on
The creation of files and directories is affected by the setting of umask. You can create files with a particular set of permissions by manipulating umask as follows :-
$old = umask(0); mkdir("test", 0777); umask($old);