fc99fb3b0a
Resolves: #913406 Version: 2:1.26-18
16 lines
647 B
Diff
16 lines
647 B
Diff
diff --git a/src/create.c b/src/create.c
|
|
index 25387a9..9a7a05a 100644
|
|
--- a/src/create.c
|
|
+++ b/src/create.c
|
|
@@ -514,8 +514,8 @@ start_private_header (const char *name, size_t size, time_t t)
|
|
|
|
TIME_TO_CHARS (t, header->header.mtime);
|
|
MODE_TO_CHARS (S_IFREG|S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH, header->header.mode);
|
|
- UID_TO_CHARS (getuid (), header->header.uid);
|
|
- GID_TO_CHARS (getgid (), header->header.gid);
|
|
+ UID_TO_CHARS (0, header->header.uid);
|
|
+ GID_TO_CHARS (0, header->header.gid);
|
|
MAJOR_TO_CHARS (0, header->header.devmajor);
|
|
MINOR_TO_CHARS (0, header->header.devminor);
|
|
strncpy (header->header.magic, TMAGIC, TMAGLEN);
|