mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-03-14 00:12:42 +00:00
Fix log folder permissions (#4749)
This commit is contained in:
parent
df199a8001
commit
0b657236d9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue