Othello Support Centre - Caring for our Customers 24/7/365

Login / Register

User

Pass



Forget pass?

Search KnowledgeBase

 

KnowledgeBase

Main > OthelloHosts.net - Shared (Virtual) Hosting > e-Commerce
Minimize Text   Default    Enlarge Text
 

OSCommerce FAQ: Warning: I am able to write to the configuration file configure.php


Print
Save to list
E-mail
Subscribe
Created 0000-00-00
Modified 0000-00-00
Views 5816
Author Support Admin
OSCommerce FAQ: Warning: I am able to write to the configuration file

Sometimes on a new osCommerce installation the following message appears at the top of the screen ...

Warning: I am able to write to the configuration file: /home/path/to/your/config/files/configure.php - This is a potential security risk - please set the right user permissions on this file.

despite the apparant protection from making it group and world read only (0644),
the message is literally correct as the file is writable.

Two solutions exist

  • the quick-and-dirty solution is to chmod the file to be 0444
  • the more elegant and preferred solution is to edit the osCommerce code to check for the file being world writable
    - see the fix discussion on the official forums at http://forums.oscommerce.com/index.php?showtopic=73797




Related Articles
How do I configure / use / install / upload FormMail.pl ?
due to the sheer number of people who cannot seem to get formmail.pl to work... Firstly you MUST ensure that you are using the latest version of FormMail.pl from the...
Why am I seeing a 500 Internal Server Error ?
The most common reasons for a web page to report 500 Internal Server Error are, in order: script not uploaded in correct format Usually this means that you...
How do I make directories browsable ? How to fix 403 forbidden errors .
How to allow the browsing of directories which do not have index.htm pages And a common solution for "403 Forbidden" errors... When you access any location...
 

 

Powered by: SupportTrio