From 8fc6c82fc4bd27787bfbe11c3b03346be9e8b69f Mon Sep 17 00:00:00 2001 From: lissav Date: Thu, 27 Aug 2009 18:22:38 +0000 Subject: [PATCH] remove -u flag, fix for defects 2844537,2844789, 2845457 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4054 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/DSHCLI.pm | 10 +++++----- perl-xCAT/xCAT/RSYNC.pm | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/perl-xCAT/xCAT/DSHCLI.pm b/perl-xCAT/xCAT/DSHCLI.pm index 4681c7b9d..2f208b3a5 100644 --- a/perl-xCAT/xCAT/DSHCLI.pm +++ b/perl-xCAT/xCAT/DSHCLI.pm @@ -4230,8 +4230,8 @@ sub parse_and_run_dcp /.../file1 /..../filex -> /...../dir1 rsync command format - /usr/bin/rsync -Lupotz /etc/services $pathtoimage/etc/services - /usr/bin/rsync -Lupotz /tmp/lissa/file1 /tmp/lissa/file $pathtoimage/tmp/lissa + /usr/bin/rsync -Lpotz /etc/services $pathtoimage/etc/services + /usr/bin/rsync -Lpotz /tmp/lissa/file1 /tmp/lissa/file $pathtoimage/tmp/lissa Arguments: Input: @@ -4307,16 +4307,16 @@ sub rsync_to_image { if (-e ("/usr/bin/rsync")) { - $synccmd = "/usr/bin/rsync -Lupotz "; + $synccmd = "/usr/bin/rsync -Lpotz "; } else { - $synccmd = "/usr/local/bin/rsync -Lupotz "; + $synccmd = "/usr/local/bin/rsync -Lpotz "; } } else # linux { - $synccmd = "/usr/bin/rsync -Lupotz "; + $synccmd = "/usr/bin/rsync -Lpotz "; } my $syncopt = ""; foreach my $srcfile (@srcfiles) diff --git a/perl-xCAT/xCAT/RSYNC.pm b/perl-xCAT/xCAT/RSYNC.pm index d2a0a6d8b..15bf0d5ec 100644 --- a/perl-xCAT/xCAT/RSYNC.pm +++ b/perl-xCAT/xCAT/RSYNC.pm @@ -88,7 +88,7 @@ sub remote_copy_command $sync_opt = '--rsync-path /usr/bin/rsync '; } - $sync_opt .= '-Lupotz '; + $sync_opt .= '-Lpotz '; $sync_opt .= $$config{'options'}; if ($::SYNCSN == 1) { # syncing service node