mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
tar: stop changing net tarfile's mode, GNU tar doesn't do it
This commit is contained in:
parent
038eec7c8b
commit
498436586e
@ -592,8 +592,6 @@ static NOINLINE int writeTarFile(int tar_fd, int verboseFlag,
|
|||||||
struct TarBallInfo tbInfo;
|
struct TarBallInfo tbInfo;
|
||||||
|
|
||||||
tbInfo.hlInfoHead = NULL;
|
tbInfo.hlInfoHead = NULL;
|
||||||
|
|
||||||
fchmod(tar_fd, 0644);
|
|
||||||
tbInfo.tarFd = tar_fd;
|
tbInfo.tarFd = tar_fd;
|
||||||
tbInfo.verboseFlag = verboseFlag;
|
tbInfo.verboseFlag = verboseFlag;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user