Quote:
Originally Posted by zeeypeewee
I have a dedicated server on centos with kloxo installed and an image hosting script, i have to chmod images folder and so i did, to be able to upload photos but the script ain't working, it tells me that i have to chmod images folder to 777. what can i do ? site path /home/admin/sto****
i also chmoded home, admin and sto*** folders to 777 and nothing, the same problem.
i also had the script on a vps and it was working fine.
can you tell me how to solve the problem?
|
Hi zeeypeewee,
welcome to LQ.
Don't rush things espacially when it comes to chmod 777 any folders. Think about what this means for the folder. quick answer is that you allow everyone on the machine to write to this folder.
So I first would reduo the chmod and get the old settings back. A sane default would be 755. This allows only the owner (user) of the directory to write and every one in its group and everyone else to read and execute (aka read) the directory.
Next on the list is the script.
Try to get the exact path of the directory the script wants to write to. It should tell you either after running it or inside your webserver log files.
to further help you out. Provide the exact error message.