Jump to content

mkdir permissions problem


ilumino

Recommended Posts

I'm having trouble getting mkdir to give the correct permissions on my apache unix server

 

I'm using:

 

mkdir('foldername', 0775);

 

But no matter what I do, the folder comes out with a 755 permission.

 

My php script has 775 permissions and the folder I'm writing to also has 775 permissions, so what am I doing wrong?

Link to comment
https://forums.phpfreaks.com/topic/90794-mkdir-permissions-problem/
Share on other sites

mkdir('foldername', 0775);

 

But no matter what I do, the folder comes out with a 755 permission.

 

 

I think you just added to your post as I said that. You said your using a 0775 as the CHMOd then you say no matter what you do, the folder comes out with a 755 permission.

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.