From: Sergey Matveev Date: Sat, 2 Jun 2018 14:27:06 +0000 (+0300) Subject: No need in creating 0440 files inside tar bundle X-Git-Tag: 3.2^2~4 X-Git-Url: http://www.git.cypherpunks.ru/?a=commitdiff_plain;h=18e35e91d703aef90052cf2323e8f45ac5923328;p=nncp.git No need in creating 0440 files inside tar bundle --- diff --git a/src/cypherpunks.ru/nncp/cmd/nncp-bundle/main.go b/src/cypherpunks.ru/nncp/cmd/nncp-bundle/main.go index 2114dae..3bd9380 100644 --- a/src/cypherpunks.ru/nncp/cmd/nncp-bundle/main.go +++ b/src/cypherpunks.ru/nncp/cmd/nncp-bundle/main.go @@ -126,7 +126,7 @@ func main() { ctx.SelfId.String(), pktName, }, "/"), - Mode: 0440, + Mode: 0400, Size: job.Size, Typeflag: tar.TypeReg, }); err != nil {