refs #1463 adds read permissions to all users

engine-branch
Luis Gerardo Romero Garcia 2025-02-06 15:42:23 +01:00
parent f181aff783
commit 10e5f65157
1 changed files with 2 additions and 0 deletions

View File

@ -239,6 +239,8 @@ def og_boot_create_dirs():
else:
try:
# Crear los directorios necesarios
os.makedirs("/opt/opengnsys", mode=0o775, exist_ok=True)
subprocess.run(["chmod", "775", "/opt/opengnsys"])
os.makedirs(INSTALL_OGBOOT_TARGET, mode=0o775, exist_ok=True)
os.makedirs(os.path.join(INSTALL_OGBOOT_TARGET, "client"), mode=0o775, exist_ok=True)