CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
e2fsprogs: updated to 1.42.5 and aligned with upstream
[crossrootfs.git] / tar / tar-rootp.patch
... / ...
CommitLineData
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