Skip to content

Commit e1f2600

Browse files
Merge pull request #952 from Shubhranshu153/fix-log-file-permisison
fix: file permissions for ecr-login
2 parents ad1893c + 66fb804 commit e1f2600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ecr-login/config/log.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func logrusConfig() {
3939
fmt.Fprintf(os.Stderr, "log: failed to create directory: %v", err)
4040
logdir = os.TempDir()
4141
}
42-
file, err := os.OpenFile(filepath.Join(logdir, "ecr-login.log"), os.O_RDWR|os.O_CREATE|os.O_APPEND, 0664)
42+
file, err := os.OpenFile(filepath.Join(logdir, "ecr-login.log"), os.O_RDWR|os.O_CREATE|os.O_APPEND, 0644)
4343
if err != nil {
4444
return
4545
}

0 commit comments

Comments
 (0)