aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archival/tar.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/archival/tar.c b/archival/tar.c
index 76f1a6240..eeaf3586b 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -592,8 +592,6 @@ static NOINLINE int writeTarFile(int tar_fd, int verboseFlag,
struct TarBallInfo tbInfo;
tbInfo.hlInfoHead = NULL;
-
- fchmod(tar_fd, 0644);
tbInfo.tarFd = tar_fd;
tbInfo.verboseFlag = verboseFlag;