From 60373b1478bbdeb5222dccaed2fe1e8b4c8cb135 Mon Sep 17 00:00:00 2001 From: cltbld Date: Thu, 21 Oct 2004 22:32:47 +0000 Subject: [PATCH] bug 261527 r=cmp, sr=bryner, a=asa. change perms for osx disk image to not be w orld or group writeable. (granrose) git-svn-id: svn://10.0.0.236/trunk@164162 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/build/package/mac_osx/make-diskimage | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mozilla/build/package/mac_osx/make-diskimage b/mozilla/build/package/mac_osx/make-diskimage index 474cbc86a2b..7dde9295fed 100755 --- a/mozilla/build/package/mac_osx/make-diskimage +++ b/mozilla/build/package/mac_osx/make-diskimage @@ -99,6 +99,10 @@ if [ ! -z ${DMG_BKGND_IMG} ]; then cp -p ${DMG_BKGND_IMG} ${MOUNT_DIR}/.background/ fi +# make sure it's not world writeable +echo "fixing permissions" +chmod -R go-w ${MOUNT_DIR} + # make the top window open itself on mount: if [ -x /usr/local/bin/openUp ]; then /usr/local/bin/openUp ${MOUNT_DIR}