biodiverse icon indicating copy to clipboard operation
biodiverse copied to clipboard

Unable to open files on MacOS Catalina

Open msedaghatpour opened this issue 3 years ago • 6 comments

I am having security/privacy issues with Biodiverse. I am unable to import or open files (example files or my own) because Biodiverse does not have permission to read the contents of my directories. Under security and privacy in system preferences, I gave Biodiverse "full disk access" and there are no other security permissions I can give.

I recently updated my computer from High Sierra to Catalina so maybe that has something to do with the problem? Screen Shot 2020-11-18 at 12 32 16 PM

msedaghatpour avatar Nov 18 '20 20:11 msedaghatpour

Thanks for the report. It could well be related to the OS version.

Are you able to open files above the desktop level? For example in /Users/maryamsedaghatpour instead of /Users/maryamsedaghatpour/Desktop

The screenshot (thanks for providing it) also makes me wonder if there is a unicode issue. It looks like there is a dash before Desktop, so it is looking for /Users/maryamsedaghatpour/-Desktop. It might just be the GUI system hyphenating text split over two lines, though.

Shawn.

shawnlaffan avatar Nov 19 '20 07:11 shawnlaffan

Also, is it only Biodiverse files that this happens to? A google search suggests there are many cases of other people hitting problems with file access like this.

Rebooting the machine is one common suggestion, but often the problem returns. There are other solutions, but I won't link to them as I do not use a Mac so can't assess how reliable they are.

shawnlaffan avatar Nov 19 '20 07:11 shawnlaffan

Also reported to mailing list. Thread starts at https://groups.google.com/g/biodiverse-users/c/bC8AhXz7Gq4/m/Lzu2cOdmCwAJ

shawnlaffan avatar Jan 12 '21 00:01 shawnlaffan

An update following a debug session with Rebecca Prescott:

Files can be opened from directories other than Desktop, Documents etc. Storing Biodiverse files in a location such as /home/username/biodiverse is one workaround.

The error does not occur when calling the script directly from a command terminal instead of the Finder:

/Applications/Biodiverse.app/Contents/MacOS/Biodiverse

@msedaghatpour - could you please try these workarounds and let me know if they work?

shawnlaffan avatar Jan 13 '21 01:01 shawnlaffan

Opening it from terminal works! I am able to import data now. Thank you for the help!

msedaghatpour avatar Jan 16 '21 21:01 msedaghatpour

Thanks for confirming @msedaghatpour

I'll re-open the issue as we still need to get the system working when called from the finder.

shawnlaffan avatar Jan 17 '21 02:01 shawnlaffan

Permissions can be granted or otherwise modified under the system settings.

Details on this Apple support page: https://support.apple.com/en-au/guide/mac-help/mchld5a35146/mac

shawnlaffan avatar Feb 01 '23 02:02 shawnlaffan