diff --git a/app/classes/shared/main_controller.py b/app/classes/shared/main_controller.py index e6c7eb6c..aa025dcf 100644 --- a/app/classes/shared/main_controller.py +++ b/app/classes/shared/main_controller.py @@ -440,7 +440,7 @@ class Controller: new_id = self.register_server(server_name, server_id, new_server_dir, backup_path, server_command, server_exe, server_log_file, server_stop, port, server_type='minecraft-bedrock') - os.chmod(full_jar_path, 2775) + os.chmod(full_jar_path, 0o2775) return new_id def import_bedrock_zip_server(self, server_name: str, zip_path: str, server_exe: str, port: int): @@ -484,7 +484,7 @@ class Controller: new_id = self.register_server(server_name, server_id, new_server_dir, backup_path, server_command, server_exe, server_log_file, server_stop, port, server_type='minecraft-bedrock') - os.chmod(full_jar_path, 2775) + os.chmod(full_jar_path, 0o2775) return new_id #************************************************************************************************