by geocar · 2w ago · 0 comments
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.
This is the unsolved problem. Neither the platforms nor app developers are aligned on solving it between themselves, much less aligned with user interests. My pet peeves:
- Apps requesting way broader or more general access for reasons that are unexplained, whether due to innocent oversight or actual malice.
- Platforms aggressively segregating access into broad categories (to reduce user fatigue), which compounds the problem of broad requests, and then preventing users from being able to override those.
- Platform giving special bypasses to their "valued partners", and refusing to inform the users or give means to disable this access (or grant to apps of their choice).
Now wrt. platforms, I get the arguments and I'm sympathetic, even though most of them don't apply to majority of customers. The end result is still the same: users don't get to offer informed consent, and have little to no control where it actually matters.
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.
Also providing access for the terminal to allow accessing user directories from the shell was already a pain, but this will further painfulize MacOS.
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.