Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Permissions on includes/configure.php file ?


Guest

Recommended Posts

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

 

I get this warning while using Mozilla, can someone tell me what my permissions should be set to?

 

Thanks

Posted
I get this warning while using Mozilla, can someone tell me what my permissions should be set to?

 

Thanks

 

Using command:

 

chmod a-w

 

at Unix prompt works at least, then you'll have to change the permissions everytime you're going to change the configuration (not often, if everything's planned well).

 

Or then you can change the ownership of file, since in most cases you have a different user for web server and editing files/FTP access:

 

chmod user configure.php

 

and then:

 

chmod og-w configure.php

 

..that way only the owner of the file can edit it.

 

I assumed that you're using an Linux/Unix server, I have no idea how Windows file permissions work.

 

 

 

Cheers,

 

Kalle!

Posted
Using command:

 

chmod a-w

 

at Unix prompt works at least, then you'll have to change the permissions everytime you're going to change the configuration (not often, if everything's planned well).

 

Or then you can change the ownership of file, since in most cases you have a different user for web server and editing files/FTP access:

 

chmod user configure.php

 

and then:

 

chmod og-w configure.php

 

..that way only the owner of the file can edit it.

 

I assumed that you're using an Linux/Unix server, I have no idea how Windows file permissions work.

Cheers,

 

Kalle!

 

 

Thanks for the info ... I use my FTP to set permissions but here is the way it is set:

 

Numerical Value is at 644

 

Owner: Read and Write

Group: Read

World: Read

Posted

Any other help please ? Its still showing up with the same error. What is the equivelant for chmod og-w is it owner read, write and execute ?

Archived

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

×
×
  • Create New...