Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Correct CHMOD for Catalog ?


^Pariah^

Recommended Posts

755.

 

Regards,

 

Nacer.

 

 

My permissions for /catalog has been set to 755 for a long time and I just re-saved it just in case. However, I STILL get - along the top of the store - that pink error message saying "I can write to the configuration.php file blah blah blah".

 

How can this be fixed? I don't want anyone to be able to write to anything other than creating an account and checking out.

Link to comment
Share on other sites

My permissions for /catalog has been set to 755 for a long time and I just re-saved it just in case. However, I STILL get - along the top of the store - that pink error message saying "I can write to the configuration.php file blah blah blah".

 

How can this be fixed? I don't want anyone to be able to write to anything other than creating an account and checking out.

 

/catalog/admin/configuration.php

 

CHMOD it to 644

 

As i can be a bit retentive about security stuff, I have renamed "admin" to something a bit odd and protected it further with .htaccess

:thumbsup:

Link to comment
Share on other sites

I do not have an issue with the admin section at all - that section is renamed and all.

 

My issue with the store itself. Anyone who goes to the store will see along the very top that coral colored error bar stating: Warning: I am able to write to the configuration file: /home/xxxxx/public_html/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

I have tried every combination of permissions and those combinations that works on the above, also prevents me from doing any work. It is like I can't have it both ways.

Link to comment
Share on other sites

I do not have an issue with the admin section at all - that section is renamed and all.

 

My issue with the store itself. Anyone who goes to the store will see along the very top that coral colored error bar stating: Warning: I am able to write to the configuration file: /home/xxxxx/public_html/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

I have tried every combination of permissions and those combinations that works on the above, also prevents me from doing any work. It is like I can't have it both ways.

 

From the knowledge base :

2. Reset the permissions on catalog/includes/configure.php to 644 (if you are still getting the warning message at the top of the page after setting this configure.php files to 644 then set the catalog/includes/configure.php file to 444 which is read only - this happens on some servers that have been updated for security reasons).

 

Apart from that, well, as you can see from my original post, i am a bit vague about some things :blush:

Link to comment
Share on other sites

can u tell me how to rename the admin folder and where to put the changes.

 

 

Rename using your FTP client

 

Reflect this change in

 

NewAdminDir/includes/configure.php

 

define('DIR_WS_ADMIN', '/catalog/NewAdminDir/');

define('DIR_FS_ADMIN', '/home/somewhere/catalog/NewAdminDir/');

 

Think this is the only place - has been too long since I had to do this :P

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...