aboutsummaryrefslogtreecommitdiffstats
path: root/backend/magiback
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2023-07-13 09:34:53 +0200
committerPapoteur <papoteur@mageia.org>2023-07-13 09:34:53 +0200
commite907dd2f25c767b7926c502902b7006331b5a51f (patch)
tree70672ac336d8b4b32906f2ec60fa0230c6b64386 /backend/magiback
parente8e986bc84cd9311ad18468dc7fca788a1d5e566 (diff)
downloadisodumper-e907dd2f25c767b7926c502902b7006331b5a51f.tar
isodumper-e907dd2f25c767b7926c502902b7006331b5a51f.tar.gz
isodumper-e907dd2f25c767b7926c502902b7006331b5a51f.tar.bz2
isodumper-e907dd2f25c767b7926c502902b7006331b5a51f.tar.xz
isodumper-e907dd2f25c767b7926c502902b7006331b5a51f.zip
Fix gid for the backup file
Diffstat (limited to 'backend/magiback')
-rwxr-xr-xbackend/magiback2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/magiback b/backend/magiback
index d46ee9a..f4a960c 100755
--- a/backend/magiback
+++ b/backend/magiback
@@ -91,7 +91,7 @@ class Isodumper(raw_write.Dumper):
def do_write(self, source, target, size, dbus_context):
self.finished.clear()
if check_permission('org.mageia.Magiback.Isodumper.write', dbus_context):
- self.thread = threading.Thread(target=self._do_write, args=(source, target, size, self.backup_mode, self.uid, self.uid))
+ self.thread = threading.Thread(target=self._do_write, args=(source, target, size, self.backup_mode, self.uid, self.gid))
self.thread.start()
logging.info("Writing thread started")
self.writing_perm = True