Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

configure.php permissions


rd42

Recommended Posts

I have the permissions set to 755 for /catalog/includes/configure.php like the documentation said and I when I load the page, in pink, at the top, I get...

 

Warning: I am able to write to the configuration file: /www/p/pharosman/htdocs/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

So I change it so that nobody can write to it, no even owner, and I still get the same error message.

 

Help

Link to comment
Share on other sites

If you have a control panel with a file manager for your web site? Try setting permissions in there.. I had the same problems before and that seemed to have solved it. also try setting permissions to 700 and make sure that both catalog and admin configure.php are both set..

 

Pete

Link to comment
Share on other sites

I've tried permissions 644 and 700 on configure.php in both the admin and catalog directories, and still the warning. I even tried 000 and the page still loaded along with the pink warning.

 

You mentioned a control panel with a file manager for my web site. My site is hosted on powweb and I have to do all editing through ftp right now. They don't appear to have any other options for file managment.

 

Thanks again for your help.

Link to comment
Share on other sites

rd42,

 

I'm having exactly the same problems...I too am on powweb and no matter how I change the permissions...that error appears.

 

I really hope someone can assist with this as everything else is going great but this is really driving me mad :angry:

 

cheers,

 

Rob

Link to comment
Share on other sites

btw,

 

I found another post on powweb's forum with a similar issue with permissions. Someone there suggested trying a different FTP program..(WS FTP => Cute FTP) and it solved this person's problem.

 

Tried it but still the same pink error.

 

Any ideas, anyone?

 

cheers,

 

Rob

Link to comment
Share on other sites

I had something similar, and what I found was that when I checked the permissions in chomd they were something along the lines of 7043337557 instead of a simple three numbered line like 775, check this out, you will need to move the pionter along to the right of the chomd box. I use wsftp in case that is what you are using.

Link to comment
Share on other sites

Hi all,

 

Yes Powweb does have a control panel but it only allow you modify account stuff (passwords, DNS, etc etc) it doesn't have a file manager of any kind...all stuff has to be done via FTP.

 

I checked the permissions again as previously suggested & they all seem correct...

 

?

 

cheers,

 

Rob

Link to comment
Share on other sites

  • 3 weeks later...
I have the permissions set to 755 for /catalog/includes/configure.php like the documentation said and I when I load the page, in pink, at the top, I get...

 

Warning: I am able to write to the configuration file: /www/p/pharosman/htdocs/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

So I change it so that nobody can write to it, no even owner, and I still get the same error message.

 

Help

 

Hi rd .. I had the same problem .. what I did is from a SSH shell I went to the /includes directory and entered the command chmod -w configure.php and this got rid of the error message right away.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...