From: Harald Hoyer Date: Fri, 14 Aug 2009 14:18:05 +0000 (+0200) Subject: dracut: set ownership to root.root for all files X-Git-Tag: 0.9~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=926b2c33374e03a70b5035e404f873b5e1cfa217;p=thirdparty%2Fdracut.git dracut: set ownership to root.root for all files --- diff --git a/dracut b/dracut index f738a63a8..6e470777c 100755 --- a/dracut +++ b/dracut @@ -238,7 +238,7 @@ if [ "$do_strip" = "yes" ] ; then done fi -( cd "$initdir"; find . |cpio -H newc -o |gzip -9 > "$outfile"; ) +( cd "$initdir"; find . |cpio -R 0:0 -H newc -o |gzip -9 > "$outfile"; ) [[ "$beverbose" = "yes" ]] && ls -lh "$outfile"