diff options
Diffstat (limited to 'hosts/vidhar')
-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 f6d100be..2ee4761d 100755 --- a/hosts/vidhar/borg/copy.py +++ b/hosts/vidhar/borg/copy.py | |||
@@ -157,7 +157,7 @@ def copy_archive(src_repo_path, dst_repo_path, entry): | |||
157 | else: | 157 | else: |
158 | print(f'{total_files} files, {naturalsize(total_size, binary=True)}', file=stderr) | 158 | print(f'{total_files} files, {naturalsize(total_size, binary=True)}', file=stderr) |
159 | # print(f'Mounting to {dir}', file=stderr) | 159 | # print(f'Mounting to {dir}', file=stderr) |
160 | with subprocess.Popen(['borg', 'mount', '-o', 'allow_other', '--foreground', '--progress', '--lock-wait=600', f'{src_repo_path}::{entry["name"]}', dir], preexec_fn=lambda: as_borg()) as mount_proc: | 160 | with subprocess.Popen(['borg', 'mount', '-o', 'allow_other,ignore_permissions', '--foreground', '--progress', '--lock-wait=600', f'{src_repo_path}::{entry["name"]}', dir], preexec_fn=lambda: as_borg()) as mount_proc: |
161 | with Halo(text='Waiting for mount', **halo_args) as sp: | 161 | with Halo(text='Waiting for mount', **halo_args) as sp: |
162 | wait_start = datetime.now() | 162 | wait_start = datetime.now() |
163 | while True: | 163 | while True: |