Skip to content

Commit

Permalink
Merge pull request #144 from theferrit32/issue-142-rename-permissions
Browse files Browse the repository at this point in the history
Do not preserve permissions when pulling an instance with rsync
  • Loading branch information
theferrit32 committed Apr 21, 2024
2 parents a35cf54 + 7f57af3 commit 37c7dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/biocommons/seqrepo/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ def pull(opts):
tmp_dir = tempfile.mkdtemp(dir=opts.root_directory, prefix=instance_name + ".")
os.rmdir(tmp_dir) # let rsync create it the directory

cmd = [opts.rsync_exe, "-aHP", "--no-motd"]
cmd = [opts.rsync_exe, "-rtHP", "--no-motd"]
if local_instances:
latest_local_instance = local_instances[-1]
cmd += ["--link-dest=" + os.path.join(opts.root_directory, latest_local_instance) + "/"]
Expand Down

0 comments on commit 37c7dfe

Please sign in to comment.