do not preserve ownership of copied files
authorAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 12 May 2008 20:06:58 +0000 (20:06 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 12 May 2008 20:06:58 +0000 (20:06 -0000)
testing/scripts/build-umlhostfs
testing/scripts/load-testconfig
testing/scripts/restore-defaults

index 3e63371..d61d5f4 100755 (executable)
@@ -65,11 +65,11 @@ do
     cecho-n "$host.."
     cp gentoo-fs gentoo-fs-$host
     mount -o loop gentoo-fs-$host $LOOPDIR
-    cp -rfp $BUILDDIR/hosts/${host}/etc $LOOPDIR
+    cp -rf $BUILDDIR/hosts/${host}/etc $LOOPDIR
     if [ "$host" = "winnetou" ]
     then
        mkdir $LOOPDIR/var/log/apache2/ocsp
-       cp -rfp $UMLTESTDIR/testing/images $LOOPDIR/var/www/localhost/htdocs
+       cp -rf $UMLTESTDIR/testing/images $LOOPDIR/var/www/localhost/htdocs
        chroot $LOOPDIR ln -s /etc/openssl/certs /var/www/localhost/htdocs/certs
         chroot $LOOPDIR /etc/openssl/generate-crl >> $LOGFILE 2>&1
     fi
index 2c33322..48f88c2 100755 (executable)
@@ -47,7 +47,7 @@ then
     for host in `ls $TESTSDIR/$testname/hosts`
     do
        eval HOSTLOGIN="root@`echo $HOSTNAMEIPV4 | sed -n -e "s/^.*${host},//gp" | awk -F, '{ print $1 }' | awk '{ print $1 }'`"
-       scp -rp $TESTSDIR/$testname/hosts/$host/etc $HOSTLOGIN:/ > /dev/null 2>&1
+       scp -r $TESTSDIR/$testname/hosts/$host/etc $HOSTLOGIN:/ > /dev/null 2>&1
     done
 fi
 
index 4bb81d1..06d1eeb 100755 (executable)
@@ -48,6 +48,6 @@ then
     for host in `ls $TESTSDIR/${testname}/hosts`
     do
        eval HOSTLOGIN="root@`echo $HOSTNAMEIPV4 | sed -n -e "s/^.*${host},//gp" | awk -F, '{ print $1 }' | awk '{ print $1 }'`"
-       scp -rp $HOSTCONFIGDIR/${host}/etc $HOSTLOGIN:/ > /dev/null 2>&1
+       scp -r $HOSTCONFIGDIR/${host}/etc $HOSTLOGIN:/ > /dev/null 2>&1
     done
 fi