Refactor #10178 Set permission to config.inc.php when install
http://tracker.modx.com/issues/10178