mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-02-21 19:48:53 +02:00
fix(permissions) allow deletion of errors file (#2293)
This commit is contained in:
parent
c9b50d7f10
commit
9725b2a9d7
@ -46,7 +46,7 @@ func (f *FatalHook) Fire(entry *logrus.Entry) error {
|
||||
if err != nil {
|
||||
// ignore errors, since we don't want to break the logging flow
|
||||
errDetails, _ := json.Marshal(&details)
|
||||
ioutil.WriteFile(filePath, errDetails, 0655)
|
||||
ioutil.WriteFile(filePath, errDetails, 0666)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user