I found the Settings panel you need to use to restore the ability of SageMath to control Finder and System Events.
It is System Settings -> Privacy & Security -> Automation On my system it shows that SageMath-10.5 has permission to control Finder, Terminal and System Events. - Marc On Saturday, January 25, 2025 at 2:01:39 PM UTC-6 Marc Culler wrote: > By the way, your answers to the privilege questions are certainly not > stored in a dot-file anywhere and probably not in a file that you can > access either. Apple has many system databases that store information like > that. There are commands to access those databases but it is not a matter > of editing a file. > > - Marc > > On Saturday, January 25, 2025 at 1:58:27 PM UTC-6 Marc Culler wrote: > >> Try going to: System Settings > Privacy & Security -> Files & Folders (or >> search for Folders) >> >> That setting controls app access to special Folders, such as Desktop or >> Documents. >> >> The SageMath app does not request or need Full Disk Access. As far as I >> know it does not need access to any special folders either. But if you >> choose to access a special folder, e.g. If you select ~/Documents as the >> location for notebook files, that might cause the SageMath app to request >> permission to read Documents. >> >> The SageMath app does request access to control Finder and System >> Events. It needs that because it uses some AppleScript to create a >> Terminal window with Sage running inside. >> >> Anyway, that Settings dialog should show you which apps have been granted >> access to which folders. Since I have not denied access to any folders for >> any apps, I am not sure whether it also shows which apps have need denied >> access, but I think it does. I am also not sure whether that is the place >> where you can restore the ability to control Finder and System Events. So >> if those were the privileges that you denied, then more research may be >> needed. >> >> It would be helpful to know which privileges you denied, if you can >> remember. >> >> - Marc >> >> On Saturday, January 25, 2025 at 12:50:46 PM UTC-6 dim...@gmail.com >> wrote: >> >>> The macOS app is mainly dealt with by Marc Culler - not sure whether >>> he reads this group, so I put him in CC. >>> He knows more about these annoying macOS details than other Sage devs, >>> for sure. >>> >>> HTH >>> Dima >>> >>> On Sat, Jan 25, 2025 at 11:51 AM James Propp <james...@gmail.com> >>> wrote: >>> > >>> > Thanks, John. I tried your idea, but SageMath isn't listed as one of >>> the programs on the list of programs eligible to get full disk access. >>> > >>> > On Friday, January 24, 2025 at 6:42:25 PM UTC-5 John H Palmieri wrote: >>> >> >>> >> Maybe approach this from the Mac side? Something to try: install >>> SageMath, then go to System Settings -> Privacy & Security. From there, >>> click Full Disk Access, click the + sign at the bottom, and select SageMath >>> to give it access. (I'm not 100% sure that "full disk access" is what is >>> needed, but I think it is.) >>> >> >>> >> On Friday, January 24, 2025 at 3:04:55 PM UTC-8 james...@gmail.com >>> wrote: >>> >>> >>> >>> I went to https://github.com/3-manifolds/Sage_macOS/releases , >>> downloaded SageMath-10.5_x86_64.dmg , and double-clicked on it to start the >>> installation. >>> >>> >>> >>> >>> >>> On Friday, January 24, 2025 at 4:50:16 PM UTC-5 dim...@gmail.com >>> wrote: >>> >>>> >>> >>>> Please provide more details on how exactly you installed SageMath, >>> which installer is this? >>> >>>> >>> >>>> >>> >>>> On 24 January 2025 15:06:33 GMT-06:00, James Propp < >>> james...@gmail.com> wrote: >>> >>>>> >>> >>>>> How do I do a *complete* uninstall that (among other things) will >>> “un-answer” the installation software’s questions about giving various >>> system-privileges to SageMath? >>> >>>>> >>> >>>>> >>> >>>>> I installed SageMath-10-5 on my MacBook Pro (with a 1.4 GHz >>> Quad-Core Intel Core i5 processor running Sonoma 14.7) and declined to give >>> SageMath any system privileges. I later learned this was a mistake so I >>> want to go back to square one and get a fresh start. Unfortunately even >>> when I put the software in the trash, delete .sage, and start the process >>> over, the installer doesn’t give me a chance to change my earlier answers. >>> >>>>> >>> >>>>> >>> >>>>> I tried installing SageMath-10-4 to see if that could "dislodge" >>> my earlier answers (presumably stored in some dot-file somewhere) but that >>> didn't help. >>> >>>>> >>> >>>>> >>> >>>>> Sorry to be asking such a newbie question; I checked the FAQ etc. >>> but can’t find the help I need. (Feel free to suggest other solutions to my >>> problem that don't involve doing an uninstall/re-install.) Thanks! >>> > >>> > -- >>> > You received this message because you are subscribed to the Google >>> Groups "sage-support" group. >>> > To unsubscribe from this group and stop receiving emails from it, send >>> an email to sage-support...@googlegroups.com. >>> > To view this discussion visit >>> https://groups.google.com/d/msgid/sage-support/7cb7e0ac-0ba3-429f-959a-5602f631793en%40googlegroups.com. >>> >>> >>> >> -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/sage-support/9d1b7e2a-1479-4e75-9bd3-98763d51a103n%40googlegroups.com.