Possible Duplicate:
PHP mkdir 0777 fail chmod 0777 works
My PHP code has something like this:
$success = mkdir($directory_name, 0777, TRUE);
When I look at the actual folder it created, the permissions are 0755. Any ideas what might be causing this?