1
exterminate
Can't change mainfile.php to 444
  • 2008/11/23 17:33

  • exterminate

  • Just popping in

  • Posts: 8

  • Since: 2008/11/15


Hello, I recently tried updating XOOPS to 2.3 via fantasico....and it did not work out, so I had to go back and put XOOPS back to 2.0.1 (or something of that manner). Now, when I click on administration menu, it says "WARNING: File /home/****/public_html/forum/mainfile.php is writeable by the server.
Please change the permission of this file for security reasons.
in Unix (444), in Win32 (read-only)"

I changed the file to 444 multiple times on many different ftp programs, and it still won't let me change it to 444. Why is this?

2
ghia
Re: Can't change mainfile.php to 444
  • 2008/11/23 18:56

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Because the Apache user has become the owner of the file.
Try to copy it with FTP to delete it and then to set it back. Then you can set the required permissions.
Other option is to install a filemanager module for XOOPS and doing it from there.

3
anderssk
Re: Can't change mainfile.php to 444
  • 2008/11/23 21:45

  • anderssk

  • Quite a regular

  • Posts: 335

  • Since: 2006/3/21


You can also create a new file in the web-root
Call the file something easy like chmod.php

The content
chmod("mainfile.php"0444); 
echo 
"chmod for mainfile.php done"
?>


Now point you browser to http://www.yourdomain.com/chmod.php

Delete the file trough FTP

(for the dev. people: Why not make a button for this function in the warning-message?)

Login

Who's Online

448 user(s) are online (325 user(s) are browsing Support Forums)


Members: 0


Guests: 448


more...

Donat-O-Meter

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

Latest GitHub Commits