Infinite loop request for file read permissions

env - 2023 mb pro Apple M2 Max - macos 14.6.1 (23G93)

I was working on a backend and a frontend in separate directories, each with their own git repo.

I copied the directories in order to add them together under a single directory and repo so I could docker compose the two apps.

I forgot to remove the git info / .git directory from each repo before combining them under the same parent directory.

I opened cursor in the parent directory containing both repos, went to the source control tab, and saw the tracking window for each repo (one for backend and one for frontend). I deleted the .git directory in each child repo with the source control tab still open.

my assumption: since the source control information was suddenly removed from both repos while cursor was open in the parent directory, a process began trying to find the info. I was stuck with an infinite loop of a popup to grant cursor permissions to my file system. Specifically, a request for “cursor wants to access information from other applications” - There were not requests for directories in my local file system (i think i had already granted access to local filesystem). There were requests to my google drive drivers in the finder app, but those requests went away after answering the popup. It was the request for other applications that was infinite (I probably accepted about 50ish times so maybe it was just going through every single app on my laptop, but the popup did not indicate that cursor was requesting access to a specific app.)

Even after quitting cursor the popups continued after every answer.

I had to restart my laptop in order to get out of the infinitely looping popup for cursor to access information from other apps.