After installing osCommerce most users will get the following warning on the top of their newly created store main page:

Warning: I am able to write to the configuration file: /[SERVER_FILE_LOCATION]/catalog/includes/configure.php. This is a potential security risk – please set the right user permissions on this file.

It is a pretty specific error with an obtuse solution in the warning message. Upon searching many recommendations are to chmod the file to 666 but sadly this still provides write access to the file and the error remains.

The solution to the write to configure.php warning
Set the file to permissions of 444 which is the equivalent of RRR or Owner-Read ; Group-Read ; Others-Read using your favorite FTP program.

For those of you on a MAC using a FTP program such as FETCH you will need to Command Click (Right Click if you have a right mouse button) and then select Get Info. From there you can set the check boxes or type in 444 and change the file permissions.

Technorati Tags: ,

del.icio.us:Fix osCommerce Write to Configuration File Warning digg:Fix osCommerce Write to Configuration File Warning spurl:Fix osCommerce Write to Configuration File Warning wists:Fix osCommerce Write to Configuration File Warning simpy:Fix osCommerce Write to Configuration File Warning newsvine:Fix osCommerce Write to Configuration File Warning blinklist:Fix osCommerce Write to Configuration File Warning furl:Fix osCommerce Write to Configuration File Warning reddit:Fix osCommerce Write to Configuration File Warning fark:Fix osCommerce Write to Configuration File Warning blogmarks:Fix osCommerce Write to Configuration File Warning Y!:Fix osCommerce Write to Configuration File Warning smarking:Fix osCommerce Write to Configuration File Warning magnolia:Fix osCommerce Write to Configuration File Warning segnalo:Fix osCommerce Write to Configuration File Warning