From 8b48df8a9e82196a8ceae13896acf72ea7052f00 Mon Sep 17 00:00:00 2001 From: Dan Bungert Date: Tue, 10 Oct 2023 13:24:56 +0100 Subject: [PATCH] log: move /var/log/installer back to 0770 root:adm (cherry picked from commit 84bcd5f7c8ca92e6bada3c21c92ad1560a13235c) --- subiquitycore/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subiquitycore/log.py b/subiquitycore/log.py index 10a99126..cf03d3d2 100644 --- a/subiquitycore/log.py +++ b/subiquitycore/log.py @@ -23,7 +23,7 @@ def setup_logger(dir, base="subiquity"): os.makedirs(dir, exist_ok=True) # Create the log directory in such a way that users in the group may # write to this directory in the installation environment. - set_log_perms(dir, mode=0o700) + set_log_perms(dir, mode=0o770, group="adm") logger = logging.getLogger("") logger.setLevel(logging.DEBUG)