Platypus icon indicating copy to clipboard operation
Platypus copied to clipboard

Full Disk Access does not stay checked

Open mlcampbe opened this issue 1 year ago • 6 comments

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?

mlcampbe avatar Mar 16 '23 13:03 mlcampbe

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?

sveinbjornt avatar Mar 16 '23 16:03 sveinbjornt

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.

mlcampbe avatar Mar 16 '23 16:03 mlcampbe

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.

gingerbeardman avatar May 26 '23 13:05 gingerbeardman

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.

mlcampbe avatar May 31 '23 18:05 mlcampbe

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!

getthething avatar Jan 10 '24 05:01 getthething

@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.

gingerbeardman avatar Jan 10 '24 12:01 gingerbeardman