--- tar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tar.c b/tar.c index 507a23d..e091b94 100644 --- a/tar.c +++ b/tar.c _AT_@ -271,7 +271,7 @@ unarchive(char *fname, ssize_t l, char b[BLKSIZ]) case REG: case AREG: case RESERVED: - fd = open(fname, O_WRONLY | O_TRUNC | O_CREAT, 0600); + fd = open(fname, O_WRONLY | O_TRUNC | O_CREAT, (mode_t)mode); if (fd < 0) eprintf("open %s:", fname); break; -- 2.3.6 --c3bfwLpm8qysLVxt Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001alt-tar-no-mtime-chown-chmod-on-hard-links.patch"Received on Mon Sep 17 2001 - 00:00:00 CEST
This archive was generated by hypermail 2.3.0 : Sun Dec 06 2015 - 16:00:16 CET