ilumino Posted February 12, 2008 Share Posted February 12, 2008 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? Quote Link to comment Share on other sites More sharing options...
phpSensei Posted February 12, 2008 Share Posted February 12, 2008 the folder chmod properties are coming out 0775 maybe because you set them to 0775 mkdir('foldername', 0775); Quote Link to comment Share on other sites More sharing options...
ilumino Posted February 12, 2008 Author Share Posted February 12, 2008 the folder chmod properties are coming out 0775 maybe because you set them to 0775 mkdir('foldername', 0775); Uh...where did I say it's coming out to 775? I said they are set to 755, try reading a little more carefully. Quote Link to comment Share on other sites More sharing options...
schilly Posted February 12, 2008 Share Posted February 12, 2008 misread. Quote Link to comment Share on other sites More sharing options...
phpSensei Posted February 13, 2008 Share Posted February 13, 2008 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. Quote Link to comment Share on other sites More sharing options...
ilumino Posted February 13, 2008 Author Share Posted February 13, 2008 I think you just added to your post as I said that. If I had edited my post, there would be a "Last edited..." message below it. Are you just trolling, or are you really that dense? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.