tar: stop changing net tarfile's mode, GNU tar doesn't do it

This commit is contained in:
Denis Vlasenko 2009-01-20 02:52:57 +00:00
parent 038eec7c8b
commit 498436586e

View File

@ -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;