0
0
forked from toolshed/abra

fix: $ABRA_DIR/servers=0700, $ABRA_DIR/servers/foo=0600

See toolshed/abra#580
This commit is contained in:
2025-08-17 14:03:15 +02:00
parent 4aaa7400b8
commit 38f308910a
3 changed files with 8 additions and 2 deletions

View File

@ -33,7 +33,7 @@ func Run(version, commit string) {
PersistentPreRun: func(cmd *cobra.Command, args []string) {
dirs := []map[string]os.FileMode{
{config.ABRA_DIR: 0764},
{config.SERVERS_DIR: 0600},
{config.SERVERS_DIR: 0700},
{config.RECIPES_DIR: 0764},
{config.LOGS_DIR: 0764},
}