From b65b506b656c520113d291e2dd899dd7e37af558 Mon Sep 17 00:00:00 2001 From: Greg Neagle Date: Fri, 12 May 2017 09:28:12 -0700 Subject: [PATCH] Remove executable bit from /private/etc/paths.d/munki --- code/tools/make_munki_mpkg.sh | 1 + code/tools/make_munki_mpkg_DEP.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/code/tools/make_munki_mpkg.sh b/code/tools/make_munki_mpkg.sh index 4e66b844..a47077bc 100755 --- a/code/tools/make_munki_mpkg.sh +++ b/code/tools/make_munki_mpkg.sh @@ -343,6 +343,7 @@ chmod +x "$COREROOT/usr/local/munki" mkdir -p "$COREROOT/private/etc/paths.d" echo "/usr/local/munki" > "$COREROOT/private/etc/paths.d/munki" chmod -R 755 "$COREROOT/private" +chmod 644 "$COREROOT/private/etc/paths.d/munki" # Create directory structure for /Library/Managed Installs. mkdir -m 1775 "$COREROOT/Library" diff --git a/code/tools/make_munki_mpkg_DEP.sh b/code/tools/make_munki_mpkg_DEP.sh index 8bf44194..d2de7a19 100755 --- a/code/tools/make_munki_mpkg_DEP.sh +++ b/code/tools/make_munki_mpkg_DEP.sh @@ -343,6 +343,7 @@ chmod +x "$COREROOT/usr/local/munki" mkdir -p "$COREROOT/private/etc/paths.d" echo "/usr/local/munki" > "$COREROOT/private/etc/paths.d/munki" chmod -R 755 "$COREROOT/private" +chmod 644 "$COREROOT/private/etc/paths.d/munki" # Create directory structure for /Library/Managed Installs. mkdir -m 1775 "$COREROOT/Library"