Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full Disk Access does not stay checked #247

Open
mlcampbe opened this issue Mar 16, 2023 · 6 comments
Open

Full Disk Access does not stay checked #247

mlcampbe opened this issue Mar 16, 2023 · 6 comments

Comments

@mlcampbe
Copy link

I have an app created to run a bash shell script that starts my VPN connection. The shell script runs just fine by itself with no prompt for access to files/folders. However, when I created an app using Platypus it always prompts for access to my documents, desktop, and downloads folders. I have given the app full disk access in the privacy and security section but that setting does not stay checked. When I run the app I can see that the full disk access option is getting turned off automatically. Any thoughts as to what is going on?

@sveinbjornt
Copy link
Owner

Apple's macOS being a bug-ridden pain in the ass? That would be my guess, but for the record, what macOS version are you using?

@mlcampbe
Copy link
Author

My MacOS is version 13.2.1.

A couple of notes though:

  1. This was working fine until a recent change by our IT department to do some security posturing checks for IT compliance during the VPN connection. It is these checks that are causing the problems.
  2. Running the underlying shell script by itself from the terminal also does the security checks but does not have any prompts for file/folder access.
  3. The shell script in turn runs /opt/cisco/anyconnect/bin/vpn to start the VPN if that tells you anything.

@gingerbeardman
Copy link

One thing you could try is removing the settings from Privacy/Security, quitting and restarting System Prefs, then reading. Sometimes if the app name has not changed but the bundle id has System prefs can get a bit confused. Quitting and restarting it forces it to refresh its cache.

@mlcampbe
Copy link
Author

One thing you could try is removing the settings from Privacy/Security, quitting and restarting System Prefs, then reading. Sometimes if the app name has not changed but the bundle id has System prefs can get a bit confused. Quitting and restarting it forces it to refresh its cache.

That was a great thought but no such luck. I removed all of the settings and restarted but still get the same prompts everytime.

@getthething
Copy link

Sorry to resurrect an old thread, but I'm having this issue as well. I granted full disk access, yet every time the script runs via my Platypus app, it asks for permission to access the documents folder. Two differences from OP. I'm running 14.1.1 and my full disk permission toggle stays on, but it still asks me every time. If it makes a difference, I have the app set to run at login.

Thanks!

@gingerbeardman
Copy link

gingerbeardman commented Jan 10, 2024

@getthething try this:

  1. delete permissions from disk access etc in System Preferences/Settings
  2. quit and restart System Preferences/Settings do not skip this step as it is the most important!
  3. re-add the permissions

That should work.

Reason is changes to apps cause the permissions to become detached, even though they look fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants