News for hackers. Stuff that matters.
Re:Last Week on My Mac: Deceived by the Finder by sibartlett on Sunday March 08, 2020 @08:28AM (#22517693)
Third-party apps are sandboxed on macOS. You have to explicitly grant them access to the file system.

Finder is not lying at all. The permissions it shows in “Get Info” are the user/group permissions; not app permissions.

Maybe Apple could enhance the UX somehow to better what’s going on, but I wouldn’t go as far as to say Finder is lying.

Re:Last Week on My Mac: Deceived by the Finder by amarshall on Sunday March 08, 2020 @10:38AM (#22518229)
> Third-party apps are sandboxed on macOS. You have to explicitly grant them access to the file system.

There’s missing nuance there. The “full disk access” and similar permissions apply even if an app is not using the traditional macOS Sandbox. Only software from the Mac App Store is required to use the traditional Sandbox, but the restrictions on disk access to certain directories apply to all processes not whitelisted (implicitly or explicitly), regardless of Sandboxing.

This nuance is somewhat important because an app listed “Sandbox: No” in e.g. Activity Monitor is still subject to disk access restrictions.

Re:Last Week on My Mac: Deceived by the Finder by saagarjha on Sunday March 08, 2020 @11:36AM (#22518517)
> Only software from the Mac App Store is required to use the traditional Sandbox

Nit: not every App Store app must be sandboxed.

Re:Last Week on My Mac: Deceived by the Finder by amarshall on Sunday March 08, 2020 @01:56PM (#22519428)
Err, are you sure about that? Excluding apps submitted prior to the sandboxing deadline (which was in 2012), App Store review guidelines [1] state:

> 2.4.5 Apps distributed via the Mac App Store have some additional requirements to keep in mind: (i) They must be appropriately sandboxed

[1] https://developer.apple.com/app-store/review/guidelines/

Re:Last Week on My Mac: Deceived by the Finder by saagarjha on Sunday March 08, 2020 @06:31PM (#22521085)
> Excluding apps submitted prior to the sandboxing deadline

I'm not.

Re:Last Week on My Mac: Deceived by the Finder by tinus_hn on Sunday March 08, 2020 @09:13AM (#22517842)
This is exactly the same thing as happens on Windows, the real permissions are far too complex to convey in a simple dialog.

It’s just more sour grapes about SIP. Tough luck, it’s there to stay, if you don’t like it, turn it off.

Re:Last Week on My Mac: Deceived by the Finder by ksaj on Sunday March 08, 2020 @06:26PM (#22521051)
You can see this with Linux as well. For example, with ext# file systems, extended attributes allow you to make files append-only, copy-on-write, or give files project and version numbers. It also lets you decide which files are or are not compressed if the file system is set to be compressed. Other attributes determine what happens to a file when you delete it (nothing, zeroing the sectors, etc)

The chattr/lsattr commands are used for accessing them.

The only time I've seen these come up are for secure locations that set log files to append-only. But I'm sure there are people out there that swear by extended attributes.

Re:Last Week on My Mac: Deceived by the Finder by saagarjha on Sunday March 08, 2020 @09:38AM (#22517949)
(This isn’t SIP, technically.)