Guest Posted September 12, 2005 Share Posted September 12, 2005 Hi everyone, I am setting the permission of access to the file /includes/configure.php to read only (r-r-r) by my web interface and by ftp too... I still getting the error message telling that OSC is able to write on it.... Someone know what to do at this point? Thanks alot Mike Link to comment Share on other sites More sharing options...
♥Vger Posted September 12, 2005 Share Posted September 12, 2005 Try just r - - (400) and see if that does it. Vger Link to comment Share on other sites More sharing options...
Guest Posted September 12, 2005 Share Posted September 12, 2005 Try just r - - (400) and see if that does it. Vger <{POST_SNAPBACK}> Hi, thanks for you help again Vger. I changed the perm to X only in the first column and I still get the error message... I contacted my web hosting company about this but if you can help me to sort the problem out faster by myself it would be much appreciated.... Mike Link to comment Share on other sites More sharing options...
♥Vger Posted September 12, 2005 Share Posted September 12, 2005 Try this. Open a new text file on your computer desktop, and put this code in it: <?php chmod ("includes/configure.php", 0444); ?> Once you've saved the text file, rename it as chmod.php and ignore the warning about altering the file extension. Then upload this file to the root folder of your website and then type this address into your browser: http://yourdomain.com/chmod.php You'll just see a blank web page, but the file should have done its job of altering the file permissions. Vger Link to comment Share on other sites More sharing options...
Guest Posted September 12, 2005 Share Posted September 12, 2005 Try this. Open a new text file on your computer desktop, and put this code in it: <?php chmod ("includes/configure.php", 0444); ?> Once you've saved the text file, rename it as chmod.php and ignore the warning about altering the file extension. Then upload this file to the root folder of your website and then type this address into your browser: http://yourdomain.com/chmod.php You'll just see a blank web page, but the file should have done its job of altering the file permissions. Vger <{POST_SNAPBACK}> It seem like the code does not work properly, I installed it into the root directly and a second time into the /catalog/includes directory... Maybe I have to try another permission instead of 0444... what would it by? Thanks for your great help VGER Mike Link to comment Share on other sites More sharing options...
♥Vger Posted September 12, 2005 Share Posted September 12, 2005 On a Windows server it would probably only need to be 644, while on an Apache server it would mostly be either 444 or 400. It may not be taking because your 'includes' folder does not have permissions of 755, thus not allowing the programme to edit files inside it. Vger Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.