summaryrefslogtreecommitdiff
path: root/hosts/vidhar
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-18 12:21:17 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-18 12:21:17 +0100
commit14da6b193df403c52be8223b1b0ad44bc1077b79 (patch)
treec66959a2fe0ef0733754ca283ad25bff287ecb13 /hosts/vidhar
parent806cd06d4e66e2c552c619f43dba19b416438807 (diff)
downloadnixos-14da6b193df403c52be8223b1b0ad44bc1077b79.tar
nixos-14da6b193df403c52be8223b1b0ad44bc1077b79.tar.gz
nixos-14da6b193df403c52be8223b1b0ad44bc1077b79.tar.bz2
nixos-14da6b193df403c52be8223b1b0ad44bc1077b79.tar.xz
nixos-14da6b193df403c52be8223b1b0ad44bc1077b79.zip
vidhar: ...
Diffstat (limited to 'hosts/vidhar')
-rwxr-xr-xhosts/vidhar/borg/copy.py2
1 files changed, 1 insertions, 1 deletions
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):
129 os.chroot(chroot) 129 os.chroot(chroot)
130 os.chdir('/') 130 os.chdir('/')
131 dir = pathlib.Path('/borg') 131 dir = pathlib.Path('/borg')
132 dir.mkdir(parents=True,exist_ok=True,mode=750) 132 dir.mkdir(parents=True,exist_ok=True,mode=0o0750)
133 os.chown(dir, borg_pwd.pw_uid, borg_pwd.pw_gid) 133 os.chown(dir, borg_pwd.pw_uid, borg_pwd.pw_gid)
134 134
135 total_size = None 135 total_size = None