Hi Kevin, thank you for getting back to us.
So, looking at things from our side, I'm not sure. I found one bug on this (r.166518515) about accessing a custom directory ("/Library//"), but the analysis of the engineering team is that it isn't a bug in macOS 26.2... because it shouldn't work in macOS 26.0 EITHER.
We have read the man page, and it refers to default sandbox-on behaviour, and not the sandbox-relaxed mode (which we moved to starting from 10.10). As you mentioned, the sandbox-on mode works as advertised in 26.0+. The sandbox-relaxed mode works up to 26.1 and stopped working in 26.2.
FYI, that does suggest a possible workaround for these issues, which would be to:
Have your CUPS component write to an allowed directory (for example, /Library/Application Support/).
If necessary, create a symlink to that location at your current location so that the user-visible behavior remains the same.
We are actively working to support sandbox-on mode. However, this is non-trivial for reasons such as:
File and folder access: other parts of our product are expecting files to be in specific locations, and we need to create symlinks back from those locations. Some of these files are log files, which involve log rotation, making things more complex.
Execute/kill sub-processes: we can no longer kill sub-processes spawned by the backend. We get an EPERM error
Network calls from filters: these are no longer possible
In the interim:
Is there anything we can configure or modify in the system to achieve the old behaviour of sandbox-relaxed mode?
If for some reason, we can’t get back to the previous sandbox-relaxed behaviour, is there a way for us to switch off the sandbox?
As of now, we are looking for a quick fix, as we have 100,000s of macOS users who will be unable to print once they upgrade to Tahoe 26.2.
Topic:
App & System Services
SubTopic:
General
Tags: