huskerchen Posted January 3, 2004 Share Posted January 3, 2004 The oscommerce works before but now I have two problems: 1. On the front page, it shows: Warning: I am able to write to the configuration file: /home/grandmas/public_html/store/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. I chmod the configure.php as 644, but the warning is still there. 2. When a create a new product, the product image was uploaded correctly, but it never shows up in the catalog. I checked the /image directory. The image file is there, but the user permission was set to 600. I change it to 644 manually and it works now. What I should do? Please help! Thanks! Link to comment Share on other sites More sharing options...
Guest Posted January 3, 2004 Share Posted January 3, 2004 Try setting permission on config.php in catalog/include and admin/include to 444 and set image file to 777 Link to comment Share on other sites More sharing options...
huskerchen Posted January 3, 2004 Author Share Posted January 3, 2004 Thank you very much! The warning message is gone after I set the config.php to 444. It also works to set the image file to 777. The problem is, every new uploaded product image was set to 600 by osCommerce and I have to manually set them to 777. How can I configure osCommerce so I don't have to manually set permission for each uploaded image file? Thanks again! Link to comment Share on other sites More sharing options...
Guest Posted January 3, 2004 Share Posted January 3, 2004 As long as the folder is chmod correctly then the images should upload with a minimum of 644 which is the lowest allowabe for the images to work Link to comment Share on other sites More sharing options...
huskerchen Posted January 3, 2004 Author Share Posted January 3, 2004 Hi, The image folder is set to 777, but the new uploaded images are still set to 600 by osCommerce. Any ideas? Thanks! Link to comment Share on other sites More sharing options...
huskerchen Posted January 3, 2004 Author Share Posted January 3, 2004 Any ideas? Should I report this as a bug? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.