Guest Posted September 22, 2005 Posted September 22, 2005 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
kalle Posted September 22, 2005 Posted September 22, 2005 I get this warning while using Mozilla, can someone tell me what my permissions should be set to? Thanks <{POST_SNAPBACK}> 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!
Guest Posted September 22, 2005 Posted September 22, 2005 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! <{POST_SNAPBACK}> 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
Guest Posted September 30, 2005 Posted September 30, 2005 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 ?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.