You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-11-06 09:09:19 +02:00
fix: permission issues (#3198)
This commit is contained in:
11
cmd/init_unix.go
Normal file
11
cmd/init_unix.go
Normal file
@@ -0,0 +1,11 @@
|
||||
// +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)
|
||||
}
|
||||
Reference in New Issue
Block a user