Skip to content

Commit

Permalink
Merge pull request #529 from nickanderson/ENT-4506/master
Browse files Browse the repository at this point in the history
ENT-4506 New files created during package changes are restricted
  • Loading branch information
nickanderson authored Mar 27, 2019
2 parents 4db0f78 + 3204fb4 commit 65ee781
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ is_nova()

INSTLOG=/var/log/CFEngineHub-Install.log
mkdir -p "$(dirname "$INSTLOG")"
touch "$INSTLOG"
chown root:root "$INSTLOG"
chmod 600 "$INSTLOG"
CONSOLE=7
# Redirect most output to log file, but keep console around for custom output.
case "$SCRIPT_TYPE" in
Expand Down

0 comments on commit 65ee781

Please sign in to comment.