|
|||||||
| Other Discussion and technical support for any other scripting methods. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
||||
|
||||
|
strange...
what is the code you are using to create the directories and who is the "owner" of that file?
__________________
...but stupidity is terminal. |
|
#3
|
|||
|
|||
|
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. |
|
#4
|
||||
|
||||
|
chown()? chgrp()?
again, please show the code that you used to create the folder... the problem might be there.
__________________
...but stupidity is terminal. |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|