def write_settings(self): write_text(self.settings_path, self.settings_json) os.chmod(self.settings_path, 0777)
def write_init_script(self): write_text(self.init_path, self.init_script) os.chmod(self.init_path, self.init_script_perms)