PDA

View Full Version : Config.php Writable


proprod
03-19-2007, 12:30 AM
It's not a huge issue, but any ideas on why admin panel v3.1 would tell me the include/config.php is writable, even though it's not ;)

James
03-19-2007, 12:30 AM
Cpanel right?

Use file manager in cpanel to set it to 444

It's a cpanel thing only on some machines ...

SasaVtec
03-19-2007, 12:33 AM
yup only works through file manager, cuz ive installed tons of FTP's and non worked, and someone told me through cpanel :)

James
03-19-2007, 12:46 AM
It's hit and miss on cpanel servers I think if phpsuexec is enabled then you have to set it to 444 via the manager. My server you don't have to ...

proprod
03-19-2007, 02:19 AM
Yep, that did it. Thanks guys :)

donholloway
03-20-2007, 05:20 PM
Thanks for posting this, not a big problem, but would rather not look at it every day.

Don

shadav
03-20-2007, 06:30 PM
i had this simular problem not to long ago with one of my hosts....the permissions on my files wouldn't stay at what I set them to....and changing them in the FTP wouldn't do anything...had to go into cpanel to do it...
only for them later to then be messed up again....
it was something on my host's end...though they never admitted it....

James
03-20-2007, 06:49 PM
probably running a script that every X scans the directories in /home and set each file extension to a predetermined chmod ..... .....

for "security purposes" you usually see things like this on single person / low budget hosts that have been hacked in the past and cant either afford the service company or know how to truely secure a server. Not all mind you but quite a few :)

shadav
03-20-2007, 07:11 PM
i wouldn't say that...i think it was something to do with that the owner screwed things up trying to run both php 4.x and php 5.x versions and well after that.....everything went wrong lolol

finally they hired someone to fix everything, and so far haven't had this problem....just occassionally a file here or there the permissions get off, but that could be my FTP program glitching....

James
03-20-2007, 07:43 PM
nahhh if it was reseting every x it was intentional

Php 4 and 5 can and does exist nicely side by side ..... or at least it does on my server ;)