summaryrefslogtreecommitdiff
path: root/lib/leap_cli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/leap_cli')
-rw-r--r--lib/leap_cli/remote/rsync_plugin.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/remote/rsync_plugin.rb b/lib/leap_cli/remote/rsync_plugin.rb
index 2c89f26..495ca1d 100644
--- a/lib/leap_cli/remote/rsync_plugin.rb
+++ b/lib/leap_cli/remote/rsync_plugin.rb
@@ -14,7 +14,7 @@ module LeapCli; module Remote; module RsyncPlugin
# {:source => '', :dest => '', :flags => '', :includes => [], :excludes => []}
#
def update
- rsync = RsyncCommand.new(:logger => logger, :flags => '-a')
+ rsync = RsyncCommand.new(:logger => logger, :flags => '-rltp --chmod=u+rX,go-rwx')
rsync.asynchronously(find_servers) do |server|
options = yield server
next unless options