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

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
  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

How do I use SSI (server Side Includes) ?

Web pages that use SSI (server side includes) by convention should be named with the .shtml file...

What types of scripting do you support ? What scripts can I use ?

Astutium provides a comprehensive ramge of hosting services, offering every kind of operating...

What are the Web-Safe colours ?

Some years ago, when computers supported max 256 different colors, a list of 216 "Web Safe...

Cannot publish site with Frontpage Extensions, front page reporting incorrect password

Problem: I can no longer publish a site with Frontpage Extensions it says I have the wrong...

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:...

Powered by WHMCompleteSolution