Page 1 of 1
Mysterious owner and group change on config.php
Posted: Tue Oct 17, 2006 11:27 am
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
Re: Mysterious owner and group change on config.php
Posted: Tue Oct 17, 2006 3:22 pm
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.
Re: Mysterious owner and group change on config.php
Posted: Tue Oct 17, 2006 4:32 pm
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.