253 points · by jshier · 2w ago · 128 comments
- Allow the developer to specify the common location(s) that they need access to. Rather than having to have the user select the folder they want to grant access to, have the developer say "this app uses data in these 5 folders, do you want to grant that access" - so much clearer, and useful in cases where an app has to integrate with other apps through the filesystem. - Readonly access. Allow an app to read your files but prevent writes or deletes. - Time limited access. Allow some kind of access and allow the user to auto-expire it rather than having to remember it exists. - Allow for negative access (i.e. allow labels or tags on directories to mark them as sensitive and prevent access by default - browsers could do this for their cookie stores, `~/.ssh` could ship with it as a default, etc.)
Apple could have used this opportunity to think through the question of "why do developers ask for filesystem access, and how can we allow legitimate usage through well scoped access controls", but instead they built a bad API that will (I would guess) not actually allow developers to be more judicious or achieve any of the user-safety benefits.
Apple needs to learn to talk to (and listen to) developers.
However users are very happy with it.
> developers will continue to feel like they need to request these expansive permissions
And users will continue to seek alternatives, or risk denying said permission.
I don't use any apps that require this permission, and would never use any app that required this permission without an extremely good explanation of why it was needed.
Until that happens, no.
> Allow the developer to specify the common location(s) that they need access to.
Why not just back up: How does the developer know the location. What's common about it?
I'm so not sure they need access to anything yet.
I use Spotify, Slack, Zoom, and WhatsApp: All of them have asked for it, but they all seem to work fine if I deny them access to full-disk access. So I am confident your issue is a non-issue for me and millions of people like me.
I don't have any apps that need this, so I do not want you to blow past this so quickly with the prior that just because you are a developer who has a use case that requires this, it is still my computer and you don't get any time on it while you're asking for this.
> Readonly access. Allow an app to read your files but prevent writes or deletes
Again: Absolutely not. There are no files I want your app to have access to without an explanation.
> Allow for negative access (i.e. allow labels or tags on directories to mark them as sensitive and prevent access by default - browsers could do this for their cookie stores, `~/.ssh` could ship with it as a default, etc.)
I know Linux works this way, and it only ever works for stuff that the integrator ships (i.e. on Red Hat, they are called seLinux labels), so it's not something that independent publishers have ever done, and to my knowledge, despite it being so easy, not one independent developer has ever used them in the way you say, despite such a thing being possible for more than 25 years.
> Apple needs to learn to talk to (and listen to) developers.
That sounds like your opinion. I think developers need to explain better what they actually want and why.
You have what you ask for on other platforms, so I think if your ideas were so right you would have simply ignored Apple, so I think Apple doesn't need to do shit for you, and you have some explaining to do.
MacOS is also used by power users, though. The kind of people who were drawn to it being a user-friendly UNIX and then stayed. I think it's reasonable for them to ask for a more granular permission system that actually supports their usecases.
Regular users need a way of giving informed consent.
The existing system reminds me of Windows; poorly dialogs designed without any thought for regular users whatsoever, which causes everybody to grant access to everything, as a knee jerk response.
No. You should ask them to explain their usecases because you are totally confused about what this is about.
I've been using UNIX since the 1980s, and other than a brief stint at Microsoft in the late 1990s, I haven't used anything else. I have a few apps in the app stores, and none of them need me to ask their users for this permission.
My software has run on billions of machines, including almost certainly yours, and so with all due respect, it is as power-user as they come that is telling you that I don't need the ability to ship software to end-users with any of the functionality that is unlocked by this permission, and as far as I know nobody else does.
I am willing to be convinced I am wrong, but it is incredibly foolish that you have allowed yourself to be convinced of this so casually: Don't you think someone who claims to be such a "power user" should be able to explain to you why they need it?
No, they’re not. They find it really annoying that apps ask them for overbroad permissions
Being informed of such dangerous acts, I welcome.
It's dangerous to look at usability through the lens of your understanding and expertise and not the average user.
You're a bit confused. The options here are not no access or automatic read only access without an expansion, but full access or read only access (the explanation here is the same and can be arbitrarily bad just like today), so it's strictly an improvement
I use none of these plapps on my Mac, and I've not had issues with the filesystem access APIs.
Xcode has never asked for these permissions though. Pretty sure Xcode *can* read any path in my ~. Without asking.
> I know Linux works this way, and it only ever works for stuff that the integrator ships (i.e. on Red Hat, they are called seLinux labels), so it's not something that independent publishers have ever done, and to my knowledge, despite it being so easy, not one independent developer has ever used them in the way you say, despite such a thing being possible for more than 25 years.
At least I can do it myself via selinux labels or systemd service sandboxing. Apple, the alleged user centrism saints, are yet to provide me with a user-centric way of sandboxing an application. I run browsers and dev shells in microvms on Linux. Those tools get a view of my filesystem that I constrain. Why can't I do the same on macOS? With all the filesystem restrictions they are imposing, they ended up still letting samba read SSH agent UDS - which allowed for a cool vuln where people on your local network could use your SSH keys. Gee, I truly wish those pesky developers actually defined what it is they need upfront so that a user could have a say in how much access these apps get on their system and what data they share.
Apple is the biggest company in the world. They need not your donation of labour.
Xcode isn't sandboxed, so by default it can read most of your FS without asking. However, it's trivial to demonstrate that Xcode does, in fact, need to request Files & Folders permissions to read from certain locations under ~/.
First, I ran `tccutil reset All com.apple.dt.Xcode` to clear out all Xcode TCC permissions. Then, I created a basic Xcode project and added a new "Run Script" build phase. For the script, I entered `ls ~/Downloads`, and pressed the Run button, which presented the standard prompt requesting ~/Downloads access for Xcode.
Granting an app full disk access requires clicking "Bypass System Protections", but none of the other permissions do. Apple has not explained what about this one is fundamentally different that it is "Bypassing" instead of "Allowing" like every other permission.
It also doesn't bypass system permissions because you can still only read files readable to your user. In order to scare the user away from using this feature Apple has told a lie.
It's also critical to recognise that data exfiltration is just as serious a risk as data manipulation. Read-only access doesn't prevent data theft, and time-limited access can't undo it.
> puts control in users' hands rather
These two statements are very much at odds with each other.
Non-technical users generally don't know which folder the app needs. It will be confusing for them. If anything this feature works best for *technical* users, that know, or have the ability to look up, which folders the application actually needs.
You can export files to an external location and you can import from external locations in this scheme but they will be user directed.
With this scheme, you would teach most users to select NO!!! if any app asks for full disk access or system access.
Negative access is what came next, applied to all apps. By default, an unsandboxed program can access everything except specific protected directories, and can request access to those directories too, e.g. Documents, Desktop, Photos, other apps' data.
Full Disk Access is the last resort that turns all of that off. Or, well, was.
It's also the only way to access Messages, which might be why certain AI apps request it.
At this point, permissions on Mac is in such a broken state it does not add anything of value. It is extremely common for apps to open up dialog boxes telling you exactly where to go in system settings to grant them access. Malware is just going to do the same, and users are trained to expect it.
Apps ask you to manage the system settings dialog only when they're requesting a very high level of system access and ship outside the app store. That describes a lot of apps that developers like to use (custom window managers etc), but not so many apps normal users will encounter.
When apps do uncover use cases that the permissions system isn't a good fit for, Apple are pretty responsive about adapting the system in backwards compatible ways. For example, AI apps wanting full disk access because they want to read the internal files of a messaging app - not ideal, so Apple have introduced a way to grant access to only specific apps from a modal popup triggered when the app tries to do it, not from the system settings app.
The way this is meant to work, by the way, is that the messaging app cooperates with the apps that want access to messages by exposing an app over XPC. AI apps are going offroad because AI companies in such a mad scramble to ship features and because of the complicated web of corporate relationships - does Meta really want to grant OpenAI access to people's WhatsApp messages on macOS or would they prefer to push users towards Meta Muse, etc. So AI apps bypass the genteel cooperative way and try to suck data out of the app's internal files directly. Apple is standing in the middle trying to mediate this stuff in a reasonable way, and I think they're doing a fine job.
Not quite. Not every apps obeys this and I’m not even sure how. Adobe’s apps all insist on creating an “Adobe” folder in your iCloud-synced Documents folder regardless of file system permissions. You may deny access to every Adobe app under the sun, and they will still create those goddamned folders at launch. Apple’s solutions are not universally implemented and are most definitely not universally obeyed.
The day Apple gives me a way to simply say “fuck you Adobe, you won’t have access to my Documents folder anymore” is the day that these permission models have started to work properly, until then it’s all theatre.
The main reason is that it’s a simple fact-of-life that software needs to be able to interact with other software, with or without permission (e.g. part of my day-job involves LoB integrations between software vendors that either went-out-of-business, despise each other, or live on vendor lock-in and offer no export/import functionality (looking at you, Progress, Clarion, and others…) - my work would be very difficult - but not impossible I’ll admit - if it ran on
(Fwiw, I always follow PLP when creating daemons, their service-principals, and FS ACLs, I’m always amazed at how everyone else (esp. multimillion-dollar ISVs) runs their MSSQL Express instances under SYSTEM, with ‘sa’ enabled, where every install uses the exact same single hardcoded password; often with LAN router port-forwarding on 1433 for “remote support” (don’t forget TeamViewer or Splashtop too). Sorry I’m ranting but the amount of security-incompetence still rampant in the LoB software industry today is flabbergasting)
Many apps already work this way and request access to a single directory, and the best apps (little snitch, arq) give you fine control over what is accessible for what actions.
I see it more as a step in the right direction. They could add separate “read only” flags in the future, for example, and add an API for apps to tell this system component to ask the user to give permission for specific directories (time limited already is there, sort-of, it seems, with the option to ask the user each time, which I assume doesn’t mean “on every read or write call”)
Also, AFAIK most user applications never need this. They can have their own store for ‘their stuff’ and standard file dialogs already open up access to files user pick in them.
"Don't trust developer" is absolutely the right thing to do here, because developers WILL try to trick user into getting them more access than required
Full access is a non sense.
Before, we had to Terminal it, create a user group, chmod this, chmod that, authorize dirs and sub dirs and let it go.
If I can just click dirs directly, I am happy with it (dev and user here).
To the end user a list of directories like ~/Library/Support… is meaningless. This is a misguided approach.
In this case, Apple has prioritised the safety of its end users, I think the page is well written and the implementation is reasonable
In an perfect world such an API would be great. We don't live there unfortunately
1. In the modern day, especially Apple is extremely down on the idea of a block/allow dialog. Their thinking is that most people will simply click allow anytime. They see a dialog without understanding what’s going on.
2. Also, it should be obvious that to a casual user the sensitive paths may look inscrutable. Most people don’t know what /etc/hosts means or ~/.ssh either.
Apple has already taken some (manual) steps in this direction - certain directories under ~/Library/Application Support are inaccessible to other applications without "full disk access". In particular, web browsers and Discord have this protection applied - this is to thwart some common types of session-stealing malware.
https://wojciechregula.blog/post/golden-gate-appdata-protect...
they can’t be trusted with it.
I counted 44* applications on my mac that ask for FDA. I've only granted it to 8. The other apps work just fine without it. (Some apps that ask for full disk access: Anki, a flashcard app and Soulver, a calculator app – cmon now)
This change is less about bureaucracy and more requiring developers to be more clear why it needs the permissions it does.
*edit: originally said 56
Could you report this: https://github.com/ankitects/anki
----
For historical reasons, the Android app requests "All files access", if not using the Play Store variant. I'm working to fix this.
We don't need it. The replacement API is 300x slower on some phones[1] and is infeasible to use.[0] It should be possible to use AnkiDroid in a "public" folder, but it no longer needs to be the norm. Times have changed
[0] https://news.ycombinator.com/item?id=43987745
[1] just tested: 966ms for a file delete on my Pixel 9 Pro vs 3ms
Mine are a raspberry pi image flasher, Alfred, my backup software, and ghostty.
(Not saying you're computing wrong, I'm interested in your computer experience, it's just different from mine)
- coding agents
- dev tools
- browsers and extensions
- file utilities
- automation apps
- media
I think it's less that i'm doing anything egregious and more that the full disk access permissions model has been broken lol.Can I see your documents? Your downloads? Your home folder? Your desktop?
And it’s not like they all happen at once. Every time you go to open a file, it randomly asks you if it’s somewhere they haven’t done it before. Maybe because they’re not using the system open save dialogue, which automatically grants access to that one file.
I like that macOS has these facilities. But the existing dichotomy of all or nothing + 30 prompts just didn’t work well.
(That they work fine without full access for your specific needs is positively surprising to me, and very nice.)
Askers? Too many. I have been removing them from there using the "–" button but I feel that might be counter-intuitive as these keep asking and then turning up there anyway. So I will stop doing it now.
For example I've used Daisy Disk app to visualize directory size. It's best used with full disk access. But I know that my `.ssh` is tiny and I'd prefer for this app not to be able to access it at all.
Well ok? Full disk access is EVERYTHING. Keys to the kingdom. If it’s not encrypted (and some of Apple’s stuff isn’t that should be) then apps that have the permission can anything.
Before that wasn’t the worst thing in the world, most apps didn’t care. But now we have LLMs. And suddenly people are realizing just how creepy full disk access really is.
So I agree. This is a great change.
So it’s Apple who wants to minimise risk and protect the users personal data vs AI companies and enthusiasts who want to let Claude rip on their computer.
To be fair, there is/was no way to request access to Messages specifically. And Claude and ChatGPT do both have Messages connectors, but you have to go out of your way to search for them. Presumably the AI itself will also tell you about Full Disk Access if you ask for something that requires it.
(Also, both of those apps do promote 'computer use', i.e. letting the AI remote-desktop your computer, which effectively grants full system control anyway. But at least in that case it's more obvious to the user what's going on.)
What the actual fuck? A messaging app has no business having full-disk access. I can only assume the real reason for this is to manipulate the user into letting them read files they have no business reading. I would consider that spyware.
How is this not getting them banned from AppStore?
i like that ios gives option of "give app access to specific picture" instead of carte blanche access to photos, some apps still don't do it and it's a reason to be wary of such apps, and i'm glad it's getting more granular on macos also
This looks really well-implemented, considering the complexity of explaining all of this to users.
Isn't it funny that we still call this permission Full Disk Access? We haven't used disks in ages.
[1] https://blog.pragmaticengineer.com/grolk-cli-uploaded-all-yo...
- This is being rolled out in the second beta of a .x OS release
- As typical of Apple, there is zero documentation other than vague "things are changing" statements such as this: https://developer.apple.com/news/?id=oqng0zjk
My app specifically needs to monitor mouse events while in the background. It's not clear where that fits in the new security regime - there is an "Input monitoring" entitlement but in the OS it only mentions "keyboard" not mouse.
It really feels like apple is being reactive here - reshuffling the permissions categories on the fly in response to a changing world and slipping these changes into a point release, rather than having a well-designed system built from the ground up.
For example I could set my "Top Secret Ideas" folder to "Deny" for "All Apps" but "Read & Write" for Finder and my Markdown editor.
The tricky part would be how to assign IDs or "accounts" for apps and what to do when an app gets updated..
Apple has the infrastructure to handle this already
This app wants to access you name and email address. Sure give it a burner one because I don't think it should have my real one.
This app wants access to your photos. Here give it access to the ones I selected as if they were my whole gallery if it insists on that.
Apple had the chance to be granular about directory permissions but it chose rather a mess – there's FDA and then there's also specific folder permissions and they sit separtely. UI adds to that mess – sometimes just by looking at the listing you cann't tell whether the permission is given or not because in "files and folders" permissiosn view it lists FDA if available and greyed and in some cases it doesn't even that app has FDA, and sometimes it lsits that FDA even if that app doesn't have FDA but asked for it. It will be even less sane if there's an app that asked for app data permission and you have many apps installed because now there are those entries for "apps' data directories". It's painful to both users (technical and non-tech nical) and the developers.
I think one of the reasons is Apple is paying the price of closed-source development. Something else is needed? Just add few hundred flags and make it happen one way or the other. Things might break? Well, add flags in other services/platforms as well, after all it's all in-house. User is still facing problems? Well, take them on phone calls, spend a few hours with them over a few calls at various levels of "seniority" (but actually showing no difference at all) and then make them reinstall the OS a few times and then close the case saying their exerience has been noted, without providing any issue/bug number or so. If they still insist? Tell them there's no next level of escalation and maybe possibly give them the option of dropping the device at an Apple centre (in most countries not the Appele stores) and remind them it can take from weeks to months. As a mac user it boggles my mind how unsafe of a ticking time-bomb of an OS we/I are using.
I just wanted to mention that there's a lovely little app called `2.1.278` and they also ask for FDA. I know the version is a bit old, can't seem to keep up :) Haven't moved all that behind containers and sandbox-exec is a bit unwieldy.
This is not what Full Disk Access was designed for. Not a huge fan of Apple misrepresenting what permissions do so they can pretend like their policies are consistent and not a kneejerk reaction to what’s going on in the world.
Full disk access is for when you need to make a full disk clone or scan.
It doesn't stop me from accessing any of my files at all.
What are you doing and why?
> This is not what Full Disk Access was designed for
Can you explain why an app for backups or indexing don’t need access to your files? I’m really confused what you’re trying to say?
What apps was it actually designed for, that you say Apple is misrepresenting?
I'm sure it would drive app developers nuts, but I don't care. I'm sick of apps begging for location, contacts, or photos access before they do anything useful.
How the fuck does Adobe manage to do that when I’ve already denied every single permission under the sun I do not know, but it is absolutely ridiculous that I have no way to stop it and Apple doesn’t seem to care about Adobe’s blatant disobedience and disdain for sane and respectful behaviour.
No, Adobe. My Mac is not yours. You do not get to create folders in my userspace as you see fit.