CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Imported core-cross ports from 2.5
[crossrootfs.git] / tar / tar-rootp.patch
CommitLineData
6dca1d21
JB
1diff -Nru tar-1.18.orig/src/extract.c tar-1.18/src/extract.c
2--- tar-1.18.orig/src/extract.c 2007-07-05 08:19:23.000000000 +0200
3+++ tar-1.18/src/extract.c 2007-07-05 08:19:37.000000000 +0200
4@@ -113,8 +113,6 @@
5 extr_init (void)
6 {
7 we_are_root = geteuid () == 0;
8- same_permissions_option += we_are_root;
9- same_owner_option += we_are_root;
10
11 /* Option -p clears the kernel umask, so it does not affect proper
12 restoration of file permissions. New intermediate directories will