Skip to content

Commit

Permalink
fix(rsync-permissions): add chmod a+rx permissions to directories syn…
Browse files Browse the repository at this point in the history
…ced to destination (#13)
  • Loading branch information
smirta authored Jan 8, 2025
1 parent 6ac21c4 commit 214bdc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/certbot/templates/cert_sync.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exitcode=0

sync_and_reload ()
{
{{ certbot_rsync_binary_path }} --timeout=2 --copy-links --recursive --chmod=Fg+r \
{{ certbot_rsync_binary_path }} --timeout=2 --copy-links --recursive --chmod=Fg+r,Da+rx \
${certbot_certificates_src} ${certbot_remote_user}@${1}:${certbot_certificates_dest}
let "exitcode+=$?"
{% if certbot_remote_container == true %}
Expand Down

0 comments on commit 214bdc9

Please sign in to comment.