Shell: permission denied

Recently picked up Xojo again after a couple years away. There’s a lot that’s changed!

Working on an app that uses FFMpeg as a helper app. On Windows, everything works perfectly.

On MacOS, I’m copying the ffmpeg binary to my Helpers folder, but the shell always returns:

bash: /path/to/ffmpeg: Permission denied

Has something changed with helper apps since I’ve been away from Xojo programming on Mac? How does one get around this issue?

You should copy ffmpeg to a subfolder inside specialfolder.applicationData instead.

1 Like

Resolved! Apparently the helper file (ffmpeg binary) was not being copied with execute permissions for some reason. The solution is to create a folderitem to the helper and set .Permissions = &o777

Cheers.

2 Likes