diff --git a/core/models/system/SystemProfile.py b/core/models/system/SystemProfile.py index 9ad387a..7940453 100644 --- a/core/models/system/SystemProfile.py +++ b/core/models/system/SystemProfile.py @@ -40,7 +40,7 @@ class SystemProfile(BaseProfile): while not wireguard_configuration_is_attached and failed_attempt_count < 3: - process = subprocess.Popen(('pkexec', 'install', '-D', wireguard_configuration_file_backup_path, self.get_wireguard_configuration_path(), '-o', 'root', '-m', '210')) + process = subprocess.Popen(('pkexec', 'install', '-D', wireguard_configuration_file_backup_path, self.get_wireguard_configuration_path(), '-o', 'root', '-m', '644')) wireguard_configuration_is_attached = not bool(os.waitpid(process.pid, 0)[1] >> 8) if not wireguard_configuration_is_attached: