Skip to content

Commit

Permalink
log: create /var/log/installer root only
Browse files Browse the repository at this point in the history
(cherry picked from commit c9cfdaf)
  • Loading branch information
dbungert committed Oct 6, 2023
1 parent 8754456 commit d43b80c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subiquitycore/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, group_write=True)
set_log_perms(dir, mode=0o700)

logger = logging.getLogger("")
logger.setLevel(logging.DEBUG)
Expand Down

0 comments on commit d43b80c

Please sign in to comment.