mirror of
https://github.com/SAP/jenkins-library.git
synced 2026-06-19 22:58:55 +02:00
fix(permissions) allow deletion of errors file (#2293)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user