gnuradio-for-mac-without-macports icon indicating copy to clipboard operation
gnuradio-for-mac-without-macports copied to clipboard

Cannot access files

Open BWorp opened this issue 4 years ago • 3 comments

Hello,

I installed latest gnuradio via the dmg install and it will start gnu radio companion OK. Using latest XQuartz and Python 3.7.7. MacBook 13", 2020, 10.15.5 If I want to open an existing project in my documents folder I get the message "Error opening directory ... operation not permitted". Also opening files on external mounted disk failes the same way. I assume some Apple security layer frustrates access. I do not know MacOs specific security mechanisms enough to dive into this myself.

Thanks and kind regards, Bart.

BWorp avatar May 31 '20 20:05 BWorp

And, forgot to mention that before, thank you for providing this GnuRadio installation option!

BWorp avatar Jun 01 '20 08:06 BWorp

Same problem. Did you find a resolution @BWorp?

I have access to my home directory but nothing else. I've added the GNURadio app to my System Preferences->Privacy panel under "Full Disk Access" and restarted my computer but that doesn't seem to have changed anything

nsbruce avatar Jul 08 '20 19:07 nsbruce

This was discussed in other open source projects such as GIMP. The easy work around is to give /bin/sh "Full Disk Access" since this is a console application. This is not desirable however because that allows any console application full access to your system, which may mean malicious code can ruin things on your system.

This is discussed within this issue on GIMP's git. One of the devs had fixed the issue by moving the shell script logic into the gimp executable so that the appbundle's entrypoint was the executable, rather than a shell script wrapper. Something similar may need to happen here. Or maybe there's a way to do this with AppleScript.

The correct fix would be to implement the security features as required by apple which can be found here. I'm not sure how to go about this however as I am not an Apple developer.

docquantum avatar Jul 25 '20 23:07 docquantum