Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not preserve permissions when pulling an instance with rsync #144

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Do not preserve permissions when pulling an instance with rsync
  • Loading branch information
theferrit32 committed Apr 16, 2024
commit 7f57af3758f59b9dbfde2525ef7c1369e2870515
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