You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
646 B
15 lines
646 B
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);
|
|
|