diff --git a/Makefile b/Makefile index c255abd52ef33d77805d9a0f0f8dd60c15894759..d394fed508bd3e1c60eeda0d565d04cbcf952df7 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ bin: bep .PHONY: install install: - install -m 0750 ./bin/isula-transform /usr/bin/isula-transform + install -m 0550 ./bin/isula-transform /usr/bin/isula-transform .PHONY: binclean binclean: diff --git a/go.mod b/go.mod index 04df1f8262f9f62d043974e7737166b8aeec0be1..7c494a4ca2f0a55874debc90fc832835318fae5c 100644 --- a/go.mod +++ b/go.mod @@ -32,7 +32,7 @@ require ( google.golang.org/grpc v1.29.0 google.golang.org/protobuf v1.21.0 gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect - gopkg.in/natefinch/lumberjack.v2 v2.0.0 + gopkg.in/natefinch/lumberjack.v2 v2.0.1-0.20190411184413-94d9e492cc53 gotest.tools v2.2.0+incompatible // indirect ) diff --git a/go.sum b/go.sum index 84d09f242a5ecba3e93af569b6aa276558163cf9..c22c1940c60ca58cdac9f73753e10c85b9cdf6f9 100644 --- a/go.sum +++ b/go.sum @@ -161,6 +161,8 @@ gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33 gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/natefinch/lumberjack.v2 v2.0.0 h1:1Lc07Kr7qY4U2YPouBjpCLxpiyxIVoxqXgkXLknAOE8= gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k= +gopkg.in/natefinch/lumberjack.v2 v2.0.1-0.20190411184413-94d9e492cc53 h1:3sU6EgF8Xi+t59u4g5ALV5dHlPMujDJ1EtnRtGJ7W4E= +gopkg.in/natefinch/lumberjack.v2 v2.0.1-0.20190411184413-94d9e492cc53/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k= gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= diff --git a/license/Third_Party_Open_Source_Software_Notice.md b/license/Third_Party_Open_Source_Software_Notice.md index 588f924c463167edcdfae5633d9814a06c7a8cff..a67679157ca1e0b0514c08b0c66c74f80b4ad927 100644 --- a/license/Third_Party_Open_Source_Software_Notice.md +++ b/license/Third_Party_Open_Source_Software_Notice.md @@ -513,7 +513,7 @@ License: BSD-2-Clause Please see above. Software: -gopkg.in/natefinch/lumberjack.v2 v2.0.0 +gopkg.in/natefinch/lumberjack.v2 v2.0.1-0.20190411184413-94d9e492cc53 Copyright notice: Copyright (c) 2014 Nate Finch License: MIT diff --git a/vendor/gopkg.in/natefinch/lumberjack.v2/lumberjack.go b/vendor/gopkg.in/natefinch/lumberjack.v2/lumberjack.go index 46d97c553115506d8972f3c3c54216d346e9c61d..a47b7f0c89eeebb3fe758f3f9b17ee3786bb7b81 100644 --- a/vendor/gopkg.in/natefinch/lumberjack.v2/lumberjack.go +++ b/vendor/gopkg.in/natefinch/lumberjack.v2/lumberjack.go @@ -206,13 +206,13 @@ func (l *Logger) rotate() error { // openNew opens a new log file for writing, moving any old log file out of the // way. This methods assumes the file has already been closed. func (l *Logger) openNew() error { - err := os.MkdirAll(l.dir(), 0744) + err := os.MkdirAll(l.dir(), 0755) if err != nil { return fmt.Errorf("can't make directories for new logfile: %s", err) } name := l.filename() - mode := os.FileMode(0644) + mode := os.FileMode(0600) info, err := os_Stat(name) if err == nil { // Copy the mode off the old logfile. @@ -288,7 +288,7 @@ func (l *Logger) openExistingOrNew(writeLen int) error { return nil } -// genFilename generates the name of the logfile from the current time. +// filename generates the name of the logfile from the current time. func (l *Logger) filename() string { if l.Filename != "" { return l.Filename diff --git a/vendor/modules.txt b/vendor/modules.txt index 8ec97c81373c84a0fe71ac24ec36e7940fdb2c34..1d8f5e8fe5bf49113d413261ace4f3a441d89474 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -170,5 +170,5 @@ google.golang.org/protobuf/runtime/protoimpl google.golang.org/protobuf/types/known/anypb google.golang.org/protobuf/types/known/durationpb google.golang.org/protobuf/types/known/timestamppb -# gopkg.in/natefinch/lumberjack.v2 v2.0.0 +# gopkg.in/natefinch/lumberjack.v2 v2.0.1-0.20190411184413-94d9e492cc53 gopkg.in/natefinch/lumberjack.v2