2013-10-08 18:41:00 +02:00
|
|
|
--- tar-1.27.orig/src/extract.c 2013-10-08 18:37:10.138985808 +0200
|
|
|
|
+++ tar-1.27/src/extract.c 2013-10-08 18:38:19.661979057 +0200
|
|
|
|
@@ -176,8 +176,6 @@
|
2006-10-22 19:02:19 +02:00
|
|
|
extr_init (void)
|
|
|
|
{
|
2013-10-08 18:41:00 +02:00
|
|
|
we_are_root = geteuid () == ROOT_UID;
|
2006-10-22 19:02:19 +02:00
|
|
|
- same_permissions_option += we_are_root;
|
|
|
|
- same_owner_option += we_are_root;
|
|
|
|
|
|
|
|
/* Option -p clears the kernel umask, so it does not affect proper
|
|
|
|
restoration of file permissions. New intermediate directories will
|