fix access right
Some checks failed
CloudSave/pipeline/head There was a failure building this commit
CloudSave/pipeline/pr-main There was a failure building this commit

This commit is contained in:
2025-09-07 19:02:26 +02:00
parent 3db9974aa8
commit 62911f2405
9 changed files with 119 additions and 17 deletions

View File

@@ -56,7 +56,7 @@ func Untar(file io.Reader, path string) error {
// if its a dir and it doesn't exist create it
case tar.TypeDir:
if _, err := os.Stat(target); err != nil {
if err := os.MkdirAll(target, 0600); err != nil {
if err := os.MkdirAll(target, 0740); err != nil {
return err
}
}