Remove extranious spaces; set permissions on config files properly.