From 14da6b193df403c52be8223b1b0ad44bc1077b79 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 18 Feb 2022 12:21:17 +0100 Subject: vidhar: ... --- hosts/vidhar/borg/copy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hosts/vidhar') diff --git a/hosts/vidhar/borg/copy.py b/hosts/vidhar/borg/copy.py index 514cf7e5..36798dc6 100755 --- a/hosts/vidhar/borg/copy.py +++ b/hosts/vidhar/borg/copy.py @@ -129,7 +129,7 @@ def copy_archive(src_repo_path, dst_repo_path, entry): os.chroot(chroot) os.chdir('/') dir = pathlib.Path('/borg') - dir.mkdir(parents=True,exist_ok=True,mode=750) + dir.mkdir(parents=True,exist_ok=True,mode=0o0750) os.chown(dir, borg_pwd.pw_uid, borg_pwd.pw_gid) total_size = None -- cgit v1.2.3