Just thought I would share this for anyone else who may be using windows hosting and having trouble getting the config.inc.php set to read only.
I am new to using MODx (just installed it and trying it out) and after install had the usual problem with windows hosting not being able to set the config.inc.php to read only. All you need to do is in notepad (or whatever you want) create a php file named chmod.php (I usually call it chmod.php just for simplicity you can call it fred.php if you like) with the following in it...
<?php
chmod("manager/includes/config.inc.php", 0444);
?>
Then upload the file to the root of your domain (and point your browser to the file eg.
http://yourdomain.com/chmod.php . You should get a blank screen, if you do it worked. If you get a page not found error try with the www or without mine works without the www. Delete the file (its not needed once it has been used).
You can use this for whatever file you need to set and for multiple files at one time just by adding another line as below...
<?php
chmod("manager/includes/config.inc.php", 0444);
chmod("manager/includes/someotherfile.php",0777);
?>
I have used this to also fix the problem of not being able to delete files by setting them to 077.
Hope this is of use to someone I find it a very usefull tool and more importantly very easy to use.