From 04916f17663bbc5c027b21b0dc6b4490cd2784b0 Mon Sep 17 00:00:00 2001 From: lgromero Date: Thu, 5 Dec 2024 09:00:51 +0100 Subject: [PATCH] refs #1200 Adds cache directory to client in installer --- installer/ogboot_installer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/installer/ogboot_installer.py b/installer/ogboot_installer.py index 205154f..eb35053 100755 --- a/installer/ogboot_installer.py +++ b/installer/ogboot_installer.py @@ -491,6 +491,8 @@ def copyClientFiles(): os.makedirs(os.path.join(INSTALL_OGBOOT_TARGET, "client/log"), mode=0o775, exist_ok=True) # Creamos el directorio de logs para el samba de oglog os.makedirs(os.path.join(INSTALL_OGBOOT_TARGET, "client_log"), mode=0o775, exist_ok=True) + # Creamos el directorio de cache para el cliente + os.makedirs(os.path.join(INSTALL_OGBOOT_TARGET, "client/cache"), mode=0o775, exist_ok=True) # Change ownership of INSTALL_OGBOOT_TARGET/client/ and its contents subprocess.run(f"chown -R opengnsys:opengnsys {INSTALL_OGBOOT_TARGET}/client/", shell=True, text=True, capture_output=True) subprocess.run(f"chown -R opengnsys:opengnsys {INSTALL_OGBOOT_TARGET}/client_log/", shell=True, text=True, capture_output=True)