Commit | Line | Data |
---|---|---|
6dca1d21 JB |
1 | diff -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 |