Skip to content

OpenRefine 3.6 will not launch on Mac when installed for all the users of the machine (root:wheel) #5160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
stevemaser opened this issue Aug 8, 2022 · 3 comments · Fixed by #5201
Labels
packaging How we distribute OpenRefine to end users, on various operating systems Platform: macOS Denotes that the item is relevant to macOS users or macOS-specific environments Type: Bug Issues related to software defects or unexpected behavior, which require resolution.

Comments

@stevemaser
Copy link

In chatting with the devs on Gitter, it seems like this needs to be baked into the build process:

sudo chmod +r /Applications/OpenRefine.app/Contents/Resources/webapp/WEB-INF/*

otherwise, if the application is owned by "root:wheel" -- which is how Munki would deploy it for those orgs that use that -- the application will not launch.

@wetneb wetneb transferred this issue from OpenRefine/openrefine.org Aug 8, 2022
@wetneb wetneb added Type: Bug Issues related to software defects or unexpected behavior, which require resolution. Platform: macOS Denotes that the item is relevant to macOS users or macOS-specific environments packaging How we distribute OpenRefine to end users, on various operating systems labels Aug 8, 2022
@antoine2711 antoine2711 changed the title OpenRefine 3.6 will not launch on Mac OpenRefine 3.6 will not launch on Mac when installed for all the users of the machine (root:wheel) Aug 9, 2022
@antoine2711
Copy link
Member

More specifically, these 2 files must have o+r permissions:

  • Contents/Resources/webapp/WEB-INF/butterfly.properties
  • Contents/Resources/webapp/WEB-INF/web.xml

@thadguidry
Copy link
Member

But shouldn't it be up to a user to config under what privileges an app has at runtime? Rather than us baking assumed privileges for a particular deployment method on iOS? It seems like just documentation guidance would be a better choice for users and admins of users in a controlled setting?

@stevemaser
Copy link
Author

But shouldn't it be up to a user to config under what privileges an app has at runtime? Rather than us baking assumed privileges for a particular deployment method on iOS? It seems like just documentation guidance would be a better choice for users and admins of users in a controlled setting?

This is on MacOS -- not iOS. The application on the Mac will not launch if the application has "root:wheel" permissions without making this change to those two files (this is a regression from 3.5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packaging How we distribute OpenRefine to end users, on various operating systems Platform: macOS Denotes that the item is relevant to macOS users or macOS-specific environments Type: Bug Issues related to software defects or unexpected behavior, which require resolution.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants