OSX set file as unix executable


#1

Edit: nevermind, I ended up just adding the files to the installer resources folder and used copy directory and it works. :wink: so I will use that for now. a bit ugly, but heck, at least it works…


I need to set a file as unix executable and sadly the setExecutable won’t work due to permissions. It turns out that NSTask does the job, but as soon I as try to use on my Juce Application, I get several errors about the NString. I’m re-installing XCode as I managed to get some Foundation files corrupted, but I will post my findings soon. If anyone has any tip on this, please, let me know.

Thanks in advance! :slight_smile:
Cheers, WilliamK