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}