fix permissions.php