Merge pull request #1830 from dbungert/log-ctd

log: move /var/log/installer back to 0770 root:adm
This commit is contained in:
Dan Bungert 2023-10-10 06:52:26 -06:00 committed by GitHub
commit f9e2cbfcc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)