]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/cmd/nncp-xfer/main.go
Ability to forcefully override umask
[nncp.git] / src / cmd / nncp-xfer / main.go
index db390088cdd9062dae3f5113fa55ebe6742e6b51..fde11174e9c19297aa573a8af86cd4c64d8848c3 100644 (file)
@@ -90,6 +90,7 @@ func main() {
                }
        }
 
+       ctx.Umask()
        selfPath := filepath.Join(flag.Arg(0), ctx.SelfId.String())
        isBad := false
        var dir *os.File