clanCore/vars: allow mode to be set

fmt
This commit is contained in:
Raymond Barbiero
2025-04-23 22:30:15 -04:00
committed by Jörg Thalheim
parent b6777cac93
commit 4117eb2f37
5 changed files with 30 additions and 6 deletions

View File

@@ -77,6 +77,6 @@ class Var:
deploy=data["deploy"],
owner=data.get("owner", "root"),
group=data.get("group", "root"),
mode=int(data.get("mode", "400"), 8),
mode=int(data.get("mode", "0400"), 8),
needed_for=data.get("neededFor", "services"),
)