1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-16 11:09:33 +02:00
sap-jenkins-library/cmd/init_unix.go

13 lines
212 B
Go
Raw Normal View History

//go:build !windows
2021-10-22 13:24:34 +02:00
// +build !windows
package cmd
import "syscall"
func init() {
// unset umask otherwise permissions on file or directory
// creation are altered in unpredictable ways.
syscall.Umask(0)
}