fix: $ABRA_DIR/servers subdirs also 0700
All checks were successful
continuous-integration/drone/push Build is passing

See 38f308910a
See #580
This commit is contained in:
2025-08-17 14:13:47 +02:00
parent 4193d63d23
commit 8a3be01c3e
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ import (
func CreateServerDir(serverName string) error {
serverPath := path.Join(config.ABRA_DIR, "servers", serverName)
if err := os.Mkdir(serverPath, 0600); err != nil {
if err := os.Mkdir(serverPath, 0700); err != nil {
if !os.IsExist(err) {
return err
}