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? Link to comment https://forums.phpfreaks.com/topic/90794-mkdir-permissions-problem/ 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); Link to comment https://forums.phpfreaks.com/topic/90794-mkdir-permissions-problem/#findComment-465388 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. Link to comment https://forums.phpfreaks.com/topic/90794-mkdir-permissions-problem/#findComment-465396 Share on other sites More sharing options...
schilly Posted February 12, 2008 Share Posted February 12, 2008 misread. Link to comment https://forums.phpfreaks.com/topic/90794-mkdir-permissions-problem/#findComment-465399 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. Link to comment https://forums.phpfreaks.com/topic/90794-mkdir-permissions-problem/#findComment-465420 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? Link to comment https://forums.phpfreaks.com/topic/90794-mkdir-permissions-problem/#findComment-465953 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.