Use --numeric-owner for tar and --numeric-uid-gid for cpio.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Fri, 30 Nov 2007 23:18:47 +0000 (23:18 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Fri, 30 Nov 2007 23:18:47 +0000 (23:18 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2638 94cd875c-1c1d-0410-91d2-eb244daf1a30

distrib/misc/h2ext.desc

index 01afd3a..a234339 100644 (file)
@@ -1,19 +1,19 @@
 # Borrowed from file(1)
 # gzip (GNU zip, not to be confused with [Info-ZIP/PKWARE] zip archiver)
-0      string          \037\213                gzip -d -c      1
+0      string          \037\213                gzip -d -c                      1
 # tar posix
-257    string          ustar\0                 tar -x          0
+257    string          ustar\0                 tar -x --numeric-owner          0
 # tar gnu
-257    string          ustar\040\040\0         tar -x          0
+257    string          ustar\040\040\0         tar -x --numeric-owner          0
 # cpio
-0      short           070707                  cpio -i         0
+0      short           070707                  cpio -i --numeric-uid-gid       0
 # cpio swapped
-0      short           0143561                 cpio -i         0
+0      short           0143561                 cpio -i --numeric-uid-gid       0
 # bzip2
-0      string          BZh                     bzip2 -d -c     1
+0      string          BZh                     bzip2 -d -c                     1
 # dump/restore new-fs big and little endian
-24     belong          60012                   restore -rf -   0
-24     lelong          60012                   restore -rf -   0
+24     belong          60012                   restore -rf -                   0
+24     lelong          60012                   restore -rf -                   0
 # dump/restore old-fs big and little endian
-24     belong          60011                   restore -rf -   0
-24     lelong          60011                   restore -rf -   0
+24     belong          60011                   restore -rf -                   0
+24     lelong          60011                   restore -rf -                   0