From f82922be2125c6fe4871a9fda0fb3a2920d4344a Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Thu, 2 Jun 2011 19:59:33 +0200 Subject: Fixing rsync issue and numberic id's (otherwise rsync maps by names which causes problems if the ids are different for server and slx clients) --- src/boot-env/OpenSLX/BootEnvironment/Base.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/boot-env/OpenSLX/BootEnvironment') diff --git a/src/boot-env/OpenSLX/BootEnvironment/Base.pm b/src/boot-env/OpenSLX/BootEnvironment/Base.pm index aa4cbe5b..3ad7c602 100644 --- a/src/boot-env/OpenSLX/BootEnvironment/Base.pm +++ b/src/boot-env/OpenSLX/BootEnvironment/Base.pm @@ -1,4 +1,4 @@ -# Copyright (c) 2008 - OpenSLX GmbH +# Copyright (c) 2008..2011 - OpenSLX GmbH # # This program is free software distributed under the GPL version 2. # See http://openslx.org/COPYING @@ -57,7 +57,7 @@ sub finalize my $rsyncDeleteClause = $delete ? '--delete' : ''; my $rsyncCmd - = "rsync -a $rsyncDeleteClause --delay-updates $self->{'target-path'}/ $self->{'original-path'}/"; + = "rsync -a $rsyncDeleteClause --numeric-ids --delay-updates $self->{'target-path'}/ $self->{'original-path'}/"; slxsystem($rsyncCmd) == 0 or die _tr( "unable to rsync files from '%s' to '%s'! (%s)", -- cgit v1.2.3-55-g7522