Skip to content

Commit

Permalink
Fix log folder permissions (woodpecker-ci#4749)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys authored Jan 19, 2025
1 parent df199a8 commit 0b65723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/services/log/file/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func NewLogStore(base string) (log.Service, error) {
return nil, fmt.Errorf("file storage base path is required")
}
if _, err := os.Stat(base); err != nil && os.IsNotExist(err) {
err = os.MkdirAll(base, 0o600)
err = os.MkdirAll(base, 0o700)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 0b65723

Please sign in to comment.