From 50b7f8d0e3800ae6514f14e69a82e59b9453dfa6 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Thu, 23 Feb 2023 23:33:07 -0300 Subject: [PATCH] Run rsync.sh --- lib/tasks/deploy/remote.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/tasks/deploy/remote.rb b/lib/tasks/deploy/remote.rb index ae8e1de..fcbd078 100644 --- a/lib/tasks/deploy/remote.rb +++ b/lib/tasks/deploy/remote.rb @@ -26,7 +26,8 @@ class Tasks::Deploy::Remote "rsync", "--delete", "-rvah", - "--chmod=Du=rwx,Fu=rw", + "--chmod=Fu=rw,Fg=r,Du=rwx,Dg=rx", + "--rsync-path='/home/0x1eef/rsync.sh'", @build_dir, "#{@user}@#{@hostname}:#{@path}" ) if $?.success?