Blame SOURCES/tar-1.26-posix-biguid.patch
|
|
a4d85a |
diff --git a/src/create.c b/src/create.c
|
|
|
a4d85a |
index 25387a9..9a7a05a 100644
|
|
|
a4d85a |
--- a/src/create.c
|
|
|
a4d85a |
+++ b/src/create.c
|
|
|
a4d85a |
@@ -514,8 +514,8 @@ start_private_header (const char *name, size_t size, time_t t)
|
|
|
a4d85a |
|
|
|
a4d85a |
TIME_TO_CHARS (t, header->header.mtime);
|
|
|
a4d85a |
MODE_TO_CHARS (S_IFREG|S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH, header->header.mode);
|
|
|
a4d85a |
- UID_TO_CHARS (getuid (), header->header.uid);
|
|
|
a4d85a |
- GID_TO_CHARS (getgid (), header->header.gid);
|
|
|
a4d85a |
+ UID_TO_CHARS (0, header->header.uid);
|
|
|
a4d85a |
+ GID_TO_CHARS (0, header->header.gid);
|
|
|
a4d85a |
MAJOR_TO_CHARS (0, header->header.devmajor);
|
|
|
a4d85a |
MINOR_TO_CHARS (0, header->header.devminor);
|
|
|
a4d85a |
strncpy (header->header.magic, TMAGIC, TMAGLEN);
|