diff --git a/subiquitycore/log.py b/subiquitycore/log.py index 10a99126a..cf03d3d2c 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)