diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-06-07 06:02:35 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-06-07 06:02:35 +0000 |
commit | 4d905c83a4af0fca93f2247d61cb0ce51f01dfcd (patch) | |
tree | 06c8c45bb99251a54e8c8c86aee646bee9e6debb /contrib | |
parent | 2aa855d8b113333067b5bf576e61982eef0bbc90 (diff) | |
download | FreeBSD-src-4d905c83a4af0fca93f2247d61cb0ce51f01dfcd.zip FreeBSD-src-4d905c83a4af0fca93f2247d61cb0ce51f01dfcd.tar.gz |
Disabling automatic --same-owner option when running as uid 0 along with
the --same-permissions was an overkill, so put it back. This is consistent
with what our old tar did.
Suggested by: dillon
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/tar/src/extract.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tar/src/extract.c b/contrib/tar/src/extract.c index e5f5ea6..c47f4c3 100644 --- a/contrib/tar/src/extract.c +++ b/contrib/tar/src/extract.c @@ -114,8 +114,8 @@ extr_init (void) we_are_root = geteuid () == 0; #ifndef __FreeBSD__ same_permissions_option += we_are_root; - same_owner_option += we_are_root; #endif + same_owner_option += we_are_root; xalloc_fail_func = extract_finish; /* Option -p clears the kernel umask, so it does not affect proper |