Created Directories not Writable
I have a PHP script that creates directories when I run it.
The permissions for each directory are always 777.
But I cannot upload anything into those directories? How is that possible?
I noticed the user:group for this directories is apache:apache.
If I want to keep that user:group, what should I change? I haven't had this problem before because I always change the user group in the httpd.conf file to whatever I want.
what is the code you are using to create the directories and who is the "owner" of that file?
Well, I should change the user and group in httpd.conf. Right now it is apache:apache.
Unfortunately, I can't get access to it, no password, so I guess I'll have to find other ways around the problem.
What puzzles me is that the server is not uploading pictures into a directory whose permissions are 777.
again, please show the code that you used to create the folder... the problem might be there.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)