Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

warning i can write to config file ???????


psylee

Recommended Posts

when i goto my main page in catalogue i recieve this at the top ofthe screen.

 

Warning: I am able to write to the configuration file: /home/sites/compatableink4u.co.uk/public_html/shop/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

 

how dod iset the right user permissions ?

 

 

this has just appeared for some reason anyone any ideas please ?

Link to comment
Share on other sites

when i goto my main page in catalogue i recieve this at the top ofthe screen.

 

Warning: I am able to write to the configuration file: /home/sites/compatableink4u.co.uk/public_html/shop/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

how dod iset the right user permissions ?

this has just appeared for some reason anyone any ideas please ?

 

This happened on my site. Your host should be able to change the permissions for you. They told me they needed to be changed to CHMOD 400. Which I have no idea what that means, but thats what they said and my host fixed mine. My webmaster could change it, but it would jump back to CHMOD 600 when he tried cause he didn't have the correct permissions or something like that.

I think only your host/server people can do this.

Link to comment
Share on other sites

This happened on my site.  Your host should be able to change the permissions for you.  They told me they needed to be changed to CHMOD 400.  Which I have no idea what that means, but thats what they said and my host fixed mine.  My webmaster could change it, but it would jump back to CHMOD 600 when he tried cause he didn't have the correct permissions or something like that.

I think only your host/server people can do this.

 

 

Not quite Misty - when you host your site on a server - the host should enable you to manage and maintain your web soite fully - If they don't (and Chmod'ing files is a pretty basic web site management requirement )- then you need a new host.

 

A good FTP client will allow you to log into your server as long as you know your full FTP details (which you can find from your host) and it will allow you to chmod the permissions on your files to secure them.

 

Another way is to use cPanel if you have one made available by your host - this is a direct and immediate way to interact with your site on the server so that you don't have to use FTP clients - but manage the site directly on the site.

 

If you have to rely on your host to chmod your files - you need to learn how to do this PDQ as it is basic webmaster stuff and if it is the host stopping you from doing this yourself - then find a new host :D

 

hth

 

Charles

A kite flies highest AGAINST the wind !

 

"Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!"

Link to comment
Share on other sites

Actually most host providers do allow you to change permissions on folders/files.

 

If you have a control panel to access your site you should be able to go to that file referenced above in the "warning" message and set the permissions by clicking on permissions or sometimes by right clicking of the mouse. Choose "Read Only" or 444.

 

If you can't do that then try via your ftp program to run the command chmod on the file. "chmod 444 configure.php" should work.

 

If not then contact your host to have it changed for you. There are other solutions as well (run a chmod via a php file) here in the forum.

 

HTH

Tom

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...