Fix T72605: Blender works only in one user account on macOS

User permissions in the disk image were wrong.

Differential Revision: https://developer.blender.org/D6462
This commit is contained in:
Jean First 2020-01-19 15:37:12 +01:00 committed by Brecht Van Lommel
parent 6368343da9
commit 66e02d15a0
Notes: blender-bot 2023-02-13 23:53:18 +01:00
Referenced by issue #72605, macOS: Blender doesn't have execute permission for non admin accounts
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ _image_size=$(echo "${_directory_size}" + 400 | bc) # extra 400 need for codesig
echo
echo -n "Creating disk image of size ${_image_size}M.."
test -f "${_tmp_dmg}" && rm "${_tmp_dmg}"
hdiutil create -size "${_image_size}m" -fs HFS+ -srcfolder "${_tmp_dir}" -volname "${_volume_name}" -format UDRW "${_tmp_dmg}"
hdiutil create -size "${_image_size}m" -fs HFS+ -srcfolder "${_tmp_dir}" -volname "${_volume_name}" -format UDRW "${_tmp_dmg}" -uid 0 -gid 0 -mode 755
echo "Mounting readwrite image..."
hdiutil attach -readwrite -noverify -noautoopen "${_tmp_dmg}"