summaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorDenis Vlasenko2009-01-20 02:52:57 +0000
committerDenis Vlasenko2009-01-20 02:52:57 +0000
commit498436586ef32d8751981aa3a2111fe978717b1f (patch)
tree2b03791a3e51aff1b760101b29f0ab7f6f4a6842 /archival
parent038eec7c8bc13abc61adf3c67a005812db20006b (diff)
downloadbusybox-498436586ef32d8751981aa3a2111fe978717b1f.zip
busybox-498436586ef32d8751981aa3a2111fe978717b1f.tar.gz
tar: stop changing net tarfile's mode, GNU tar doesn't do it
Diffstat (limited to 'archival')
-rw-r--r--archival/tar.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/archival/tar.c b/archival/tar.c
index 76f1a62..eeaf358 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;