1
Cordman
Re: WARNING: File root:/pathtodir/mainfile.php
  • 2004/4/3 22:21

  • Cordman

  • Just popping in

  • Posts: 4

  • Since: 2004/3/26


I found a thread on my host's forum. They will not allow chmod 444. They say it's a security issue and I can't argue due to being ignorant about it. Anyway, here is a post in the thread on the forum

<begin post>
well, obviously your configure.php file is not chmod properly. You have to use this script

<?php
chmod('includes/configure.php', 0444);
?>

save it as protect.php, and put it in your catalog directory. Call it from your browser and you're all set.

</end post>

All I did was changed 'includes/configure.php' to 'mainfile.php' and it works. Not sure if this is the right thing to do, but like I say, it works. Any thoughts? Does anyone see a problem with this?



2
Cordman
Re: WARNING: File root:/pathtodir/mainfile.php
  • 2004/4/2 17:31

  • Cordman

  • Just popping in

  • Posts: 4

  • Since: 2004/3/26


Thanks Jeff,

I can CHMOD with no problems, but I cannot CHMOD 444. Like I said, if I do it reverts back to 644 and then I get the error. I'll inquire about it as you suggested though. Thanks



3
Cordman
Re: WARNING: File root:/pathtodir/mainfile.php
  • 2004/4/1 14:36

  • Cordman

  • Just popping in

  • Posts: 4

  • Since: 2004/3/26


Linux



4
Cordman
WARNING: File root:/pathtodir/mainfile.php
  • 2004/4/1 12:09

  • Cordman

  • Just popping in

  • Posts: 4

  • Since: 2004/3/26


I installed XOOPS on a server running Apache. All works well, except when I go to the Admin page, I get the following error: WARNING: File root:/pathtodir/mainfile.php is writeable by the server.
Please change the permission of this file for security reasons. in Unix (444), in Win32 (read-only)

When I chmod the file to 444 as recommended, it does not "stick", it just goes back to 644 and I get the above arror as above. Just for the heck of it, I made the file read-only and that was a mistake. Any ideas?




TopTop



Login

Who's Online

147 user(s) are online (111 user(s) are browsing Support Forums)


Members: 0


Guests: 147


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits