Jump to content

mkdir() not applying permissions


rondog

Recommended Posts

I am using mkdir to make a folder and it looks like this:

 

mkdir($theDir,0755);

 

It makes the folder, but the permissions are being set to 744 resulting in me not being able to browse to files in it via http. Im pretty sure its a server config thing, but not sure where to look.

Link to comment
https://forums.phpfreaks.com/topic/207622-mkdir-not-applying-permissions/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.