diff options
author | Lukc <lukc@upyum.com> | 2010-12-11 19:15:23 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-11 19:15:35 +0100 |
commit | 6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch) | |
tree | b5e6da6d95b9a1235d82032b509b80483a886ff5 /tar/tar-rootp.patch | |
download | base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2 base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip |
Engagement initial.
Diffstat (limited to 'tar/tar-rootp.patch')
-rw-r--r-- | tar/tar-rootp.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tar/tar-rootp.patch b/tar/tar-rootp.patch new file mode 100644 index 0000000..1b34c74 --- /dev/null +++ b/tar/tar-rootp.patch @@ -0,0 +1,12 @@ +diff -Nru tar-1.18.orig/src/extract.c tar-1.18/src/extract.c +--- tar-1.18.orig/src/extract.c 2007-07-05 08:19:23.000000000 +0200 ++++ tar-1.18/src/extract.c 2007-07-05 08:19:37.000000000 +0200 +@@ -113,8 +113,6 @@ + extr_init (void) + { + we_are_root = geteuid () == 0; +- 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 |