diff options
Diffstat (limited to 'hosts/vidhar/borg/copy.py')
-rwxr-xr-x | hosts/vidhar/borg/copy.py | 2 |
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 |