Skip to content
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

Mac OS build permission issue. #440

Closed
Ahtram opened this issue Sep 20, 2022 · 7 comments
Closed

Mac OS build permission issue. #440

Ahtram opened this issue Sep 20, 2022 · 7 comments
Labels
bug Something isn't working

Comments

@Ahtram
Copy link

Ahtram commented Sep 20, 2022

Bug description
I still encounter the old permission issue when trying to run the StandaloneOSX build artifact executable.
2022-09-20_15-53
Which is relate to a closed issue #77

Edit:
I cannot find how to solve the.

@Ahtram Ahtram added the bug Something isn't working label Sep 20, 2022
@webbertakken
Copy link
Member

As far as I know find -type f only finds files, which are then piped into the exec clause. I don't see how recursing them will help.

Could you please explain?

@Ahtram
Copy link
Author

Ahtram commented Sep 20, 2022

Ok after further test. It doesn't actually solve the permission issue.
Not sure why once it get compressed and download. It still doesn't get the +x permission.

@ManuelRauber
Copy link

ManuelRauber commented Sep 20, 2022

Ok after further test. It doesn't actually solve the permission issue.
Not sure why once it get compressed and download. It still doesn't get the +x permission.

Because that's how GitHub Artifact Upload works: https://github.com/actions/upload-artifact#permission-loss

If you want to have the permissions, you have to create a TAR first and then use the upload-artifact action to upload the TAR.

See also here: https://github.com/game-ci/unity-actions/issues/152

@Ahtram
Copy link
Author

Ahtram commented Sep 20, 2022

Ok after further test. It doesn't actually solve the permission issue.
Not sure why once it get compressed and download. It still doesn't get the +x permission.

Because that's how GitHub Artifact Upload works: https://github.com/actions/upload-artifact#permission-loss

If you want to have the permissions, you have to create a TAR first and then use the upload-artifact action to upload the TAR.

See also here: game-ci/unity-actions#152

Thanks, I guess i'll give this a try. It looks promising.

@Ahtram Ahtram closed this as completed Sep 20, 2022
@bella-cockrell
Copy link

I had this issue as well after I followed the Game CI video tutorial in this run here, and packaging up in a .tar worked for me as well.

I do have a 'This file can’t be opened because Apple cannot check it for malicious software' pop up, but I can successfully open it by right-clicking click > 'Open' > 'Open'. I imagine the issue here is because it is not notarized, so I will follow the instructions provided here

@davidmfinol
Copy link
Member

@bella-cockrell The instructions you linked are for iOS and not Mac. You may want to see game-ci/documentation#262

@bella-cockrell
Copy link

@bella-cockrell The instructions you linked are for iOS and not Mac. You may want to see game-ci/documentation#262

Ah amazing, thanks for the link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants