Mysterious owner and group change on config.php

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Jonny
Forum Members
Forum Members
Posts: 77
Joined: Sun Sep 24, 2006 10:49 am

Mysterious owner and group change on config.php

Post by Jonny »

My config.php file has become uneditable and cannot be deleted due to its owner and group having somehow been changed to 99.

The only other files I've found with this setting are thumbnail images created by Image Manager.

Any ideas how I can fix this without bothering my hosting admin?

Running 1.0.2
Last edited by Jonny on Tue Oct 17, 2006 11:50 am, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Mysterious owner and group change on config.php

Post by calguy1000 »

try creating a user defined tag that does this:

Code: Select all

global $gCms;
$cfgfile = $gCms->config['root_path'];
$cfgfile .= DIRECTORY_SEPARATOR.'config.php';
echo $cfgfile;
chmod($cfgfile, 777);
then stick it in a page somewhere, browse to that page and that should do the trick
then you can take the tag out of the page.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Jonny
Forum Members
Forum Members
Posts: 77
Joined: Sun Sep 24, 2006 10:49 am

Re: Mysterious owner and group change on config.php

Post by Jonny »

Thanks for that, I needed to make a change quickly so I resorted to the hosting admin but I'll certainly try this if the issue reoccurs.

It still leaves the Image Manager thumbnails set to 99. This isn't the case with other sites I've set up with CMSMS and I feel uneasy about having any files that I can't delete.
Post Reply

Return to “CMSMS Core”