fix: less loose permissions, less +x

Closes coop-cloud/organising#283.
This commit is contained in:
2021-12-05 01:18:31 +01:00
parent 9be78bc5fa
commit 7d8f3f1fab
5 changed files with 5 additions and 5 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, 0755); err != nil {
if err := os.Mkdir(serverPath, 0644); err != nil {
if !os.IsExist(err) {
return err
}