3.0 mac: non admin users can't run blender #93236

Closed
opened 2021-11-20 01:06:43 +01:00 by Richard Glaser · 22 comments

System Information
Operating system: macOS 11.6.1
Graphics card: AMD Radeon Pro 5500M

Blender Version
Broken: Blender 3.0, 2.93.6
Worked: (newest version of Blender that worked as expected)

Permissions on mac application builds are broken, with owner only have read/execute permissions to the following applications directories /Contents/Resources/2.93, /Contents/Resources/lib and /Contents/Resources/text.

If you add permissions for read & execute to those directories non-owner user can properly launch application.

Exact steps for others to reproduce the error

ls -la "/Volumes/Blender/Blender.app"
drwx------@  7 admin_username  staff  224 Dec  3 06:29 Contents

libomp also fails to load due to read permissions.

sudo su - test_standard_user  -c '"/Volumes/Blender/Blender.app/Contents/MacOS/Blender"'
-bash:  Permission denied
**System Information** Operating system: macOS 11.6.1 Graphics card: AMD Radeon Pro 5500M **Blender Version** Broken: Blender 3.0, 2.93.6 Worked: (newest version of Blender that worked as expected) Permissions on mac application builds are broken, with owner only have read/execute permissions to the following applications directories /Contents/Resources/2.93, /Contents/Resources/lib and /Contents/Resources/text. If you add permissions for read & execute to those directories non-owner user can properly launch application. **Exact steps for others to reproduce the error** ``` ls -la "/Volumes/Blender/Blender.app" drwx------@ 7 admin_username staff 224 Dec 3 06:29 Contents ``` libomp also fails to load due to read permissions. ``` sudo su - test_standard_user -c '"/Volumes/Blender/Blender.app/Contents/MacOS/Blender"' -bash: Permission denied ```
Author

Added subscriber: @uurazzle

Added subscriber: @uurazzle

#93939 was marked as duplicate of this issue

#93939 was marked as duplicate of this issue
Member

Closed as duplicate of #72605

Closed as duplicate of #72605

Added subscriber: @brecht

Added subscriber: @brecht

Changed status from 'Duplicate' to: 'Needs Triage'

Changed status from 'Duplicate' to: 'Needs Triage'

2.93.6 is supposed to have resolved this issue, so it's not obviously a duplicate.

2.93.6 is supposed to have resolved this issue, so it's not obviously a duplicate.

Changed status from 'Needs Triage' to: 'Resolved'

Changed status from 'Needs Triage' to: 'Resolved'
Brecht Van Lommel self-assigned this 2021-11-23 20:23:36 +01:00

The issue appears to be that the buildbot worker were running with a bad umask. I changed the macOS buildbot workers to be created with --umask=0o22 to solve that.

Tomorrow's daily build should have this problem solved:
https://builder.blender.org/download/daily/

The issue appears to be that the buildbot worker were running with a bad umask. I changed the macOS buildbot workers to be created with `--umask=0o22` to solve that. Tomorrow's daily build should have this problem solved: https://builder.blender.org/download/daily/

Changed status from 'Resolved' to: 'Confirmed'

Changed status from 'Resolved' to: 'Confirmed'

Actually there is still something else wrong.

Actually there is still something else wrong.
Member

Added subscriber: @ankitm

Added subscriber: @ankitm

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'

The Arm machines had a Blender git repo checkout with wrong permission still, just needed to be refreshed.

The Arm machines had a Blender git repo checkout with wrong permission still, just needed to be refreshed.
Author

I am still seeing this issue in the recent Blender 3.0.0 release. I manually fixed permissions to resolve issue application not launching.

I am still seeing this issue in the recent Blender 3.0.0 release. I manually fixed permissions to resolve issue application not launching.
Ankit Meel changed title from Incorrect Permissions to macOS Applications Builds Breaks App Launch for non-owner users - Only Owner has read/execute permissions to app bundle directories /Contents/Resources/2.93, /Contents/Resources/lib and /Contents/Resources/text to 3.0 mac: non admin users can't run blender 2021-12-08 10:19:06 +01:00
Brecht Van Lommel was unassigned by Ankit Meel 2021-12-08 10:19:06 +01:00
Member

Changed status from 'Resolved' to: 'Confirmed'

Changed status from 'Resolved' to: 'Confirmed'
Member

Added subscriber: @Bradley400

Added subscriber: @Bradley400

I guess there was still some buildbot machine with the wrong permissions. I cleared out all the folders now and restarted the workers, hopefully that solves it.

If it still happens in tomorrow's build, please mention the exact build name so we can trace where it came from. Since at least some of the releases / builds look correct to me.

I guess there was still some buildbot machine with the wrong permissions. I cleared out all the folders now and restarted the workers, hopefully that solves it. If it still happens in tomorrow's build, please mention the exact build name so we can trace where it came from. Since at least some of the releases / builds look correct to me.

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Brecht Van Lommel self-assigned this 2021-12-15 21:18:11 +01:00

This task is not resolved for me today. Installed 1/5/21 build as admin on MacOs Catalina, could not run as user. Granted permissions using Get Info, error message was "Could not open the application because it may be damaged or incomplete."

This task is not resolved for me today. Installed 1/5/21 build as admin on MacOs Catalina, could not run as user. Granted permissions using Get Info, error message was "Could not open the application because it may be damaged or incomplete."

Can you mention the exact filename of the build you downloaded?

Can you mention the exact filename of the build you downloaded?

Screen Shot 2022-01-05 at 1.28.59 PM.png

![Screen Shot 2022-01-05 at 1.28.59 PM.png](https://archive.blender.org/developer/F12790360/Screen_Shot_2022-01-05_at_1.28.59_PM.png)

That's the official release from December 3, while this bug was resolved on December 15.

It should be fixed in newer builds from:
https://builder.blender.org/download/daily/

That's the official release from December 3, while this bug was resolved on December 15. It should be fixed in newer builds from: https://builder.blender.org/download/daily/
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#93236
No description provided.