Skip to content
Snippets Groups Projects
Commit 6687a51e authored by Simon Sapin's avatar Simon Sapin
Browse files

Set permissions when uploading with rsync

parent fc5471a9
No related branches found
No related tags found
1 merge request!1Initial implementation
......@@ -141,7 +141,9 @@
let rsync_status = process::Command::new("rsync")
.arg("--info=progress2")
.arg("-h")
.arg("--human-readable")
.arg("--perms")
.arg("--chmod=a+r,g+w")
.arg(cache_path)
.arg(format!("{}:{}", UPLOAD_SSH_HOST, escaped_remote_path))
.status()?;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment