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/installer/OpenSLX/OSExport/FileSystem/NFS.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/installer/OpenSLX/OSExport/FileSystem/NFS.pm') diff --git a/src/installer/OpenSLX/OSExport/FileSystem/NFS.pm b/src/installer/OpenSLX/OSExport/FileSystem/NFS.pm index 9bd2ca87..96e40d24 100644 --- a/src/installer/OpenSLX/OSExport/FileSystem/NFS.pm +++ b/src/installer/OpenSLX/OSExport/FileSystem/NFS.pm @@ -1,4 +1,4 @@ -# Copyright (c) 2006, 2007 - OpenSLX GmbH +# Copyright (c) 2006..2011 - OpenSLX GmbH # # This program is free software distributed under the GPL version 2. # See http://openslx.org/COPYING @@ -168,7 +168,7 @@ sub _copyViaRsync my $rsyncFH; my $additionalRsyncOptions = $ENV{SLX_RSYNC_OPTIONS} || ''; my $rsyncCmd - = "rsync -av --delete-excluded --exclude-from=- $additionalRsyncOptions" + = "rsync -av --numeric-ids --delete-excluded --exclude-from=- $additionalRsyncOptions" . " $source/ $target"; vlog(2, "executing: $rsyncCmd\n"); open($rsyncFH, '|-', $rsyncCmd) -- cgit v1.2.3-55-g7522