dracut: set ownership to root.root for all files
authorHarald Hoyer <harald@redhat.com>
Fri, 14 Aug 2009 14:18:05 +0000 (16:18 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 14 Aug 2009 15:27:49 +0000 (17:27 +0200)
dracut

diff --git a/dracut b/dracut
index f738a63..6e47077 100755 (executable)
--- 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"