Closed wjlandryiii closed 8 years ago
@cra0zy - Didn't we do something like this for the Linux installer?
@dellis1972 - Should we do the same for the Mac installer?
Hmm.. this should have changed the permisisons
I can look at the mac post install script
@tomspilman PR is up https://github.com/mono/MonoGame/pull/4201
Didn't we do something like this for the Linux installer?
No.
On Linux we have: https://github.com/mono/MonoGame/blob/develop/Installers/Linux/Data/RUN/postinstall.sh#L91 to give the user permission to edit the folder where the monogame pipeline tool is installed(needed because the compilation will use that folder to create the temp files before writing them to the final destination) and then we have: https://github.com/mono/MonoGame/blob/develop/MonoGame.Framework.Content.Pipeline/ExternalTool.cs#L159 which will give the actual permissions to ffmpeg.
Hmm.. this should have changed the permisisons
Does the user running the pipeline tool have permission to change stuff in the folder the tool was installed in?
On Mac its not good practice to give users write access to the /Applications/xxx folder.. so in the PR I'm updating the permissions manually in the post install script.
I FINALLY UNDERSTAND IT: #66
Took me only 2 months...
@cra0zy - So is this fixed now?
Yes.
When trying to use ffmpeg to convert sound files using the pipeline.app tool, I get this error:
To fix this problem, I did this:
I don't know if this should be fixed in this repo, or in the build process for the pipeline tool.