PDA

View Full Version : Permissions



getchagame
11-06-2008, 02:08 PM
i installed oscommerce shopping cart a while ago using Fantastico and configure everything. There were no warnings untill today.
if you go to my website http://www.getchgame.com/products
you see that top pink bar.
it says, "i can write to public_html/products/includes/configure.php this is a security risk please change the user permissions

the user permissions for that configure.php file are 755

any ideas?

r2b2
11-06-2008, 02:25 PM
Try 440

Thats read for your user and group and no access to anyone else. Note if you do this, you'll need to change it back to something like 640 when you want to change the file. (ie also allow write to the user)

pghcollectibles
11-06-2008, 03:03 PM
that file never needs accessed by anyone other than you and the oscommerce scripts. its your main config file with your db info and everything. 440 is good

getchagame
11-06-2008, 03:30 PM
pghcollectibles, i don't completely understand what you're saying. are u saying i need to edit the permissions of a different file, and if so where is it?

but when i did what r2b2 said to do, it worked.

pghcollectibles
11-06-2008, 04:26 PM
i was only describing why you had to do what r2b2 said

getchagame
11-06-2008, 08:25 PM
oh. thanks so much for your help.