Thanks for your reply, here's the report number: FB17100576 If you need additional info please let me know.
Looking at the log data, I think this is the failure you're talking about, though I can't be certain of this from the log alone:
| 2025-04-03 10:42:25.009851+0200 <app_name>-beta: (libxpc.dylib) [com.apple.xpc:connection] [0x600001704ff0] activating connection: mach=true listener=false peer=false name=com.apple.scopedbookmarksagent.xpc |
| 2025-04-03 10:42:25.010050+0200 ScopedBookmarkAgent: (libxpc.dylib) [com.apple.xpc:connection] [0x15960a2c0] activating connection: mach=false listener=false peer=true name=com.apple.scopedbookmarksagent.xpc.peer[999].0x15960a2c0 |
| 2025-04-03 10:42:25.010940+0200 ScopedBookmarkAgent: (Security) SecTrustEvaluateIfNecessary |
| ... |
| 2025-04-03 10:42:25.012126+0200 kernel: (Sandbox) Sandbox: ScopedBookmarkAgent(721) deny(1) file-read-data /Library/Preferences/com.apple.security.plist |
| 2025-04-03 10:42:25.012140+0200 ScopedBookmarkAgent: (Security) [com.apple.securityd:security_exception] UNIX error exception: 5 |
| 2025-04-03 10:42:25.012215+0200 ScopedBookmarkAgent: (Security) [com.apple.securityd:security_exception] UNIX error exception: 5 |
| 2025-04-03 10:42:25.012270+0200 ScopedBookmarkAgent: (Security) [com.apple.securityd:security_exception] UNIX error exception: 5 |
| ... |
| 2025-04-03 10:42:25.013671+0200 ScopedBookmarkAgent: (Security) SecTrustEvaluateIfNecessary |
| 2025-04-03 10:42:25.017631+0200 <app_name>-beta: (libxpc.dylib) [com.apple.xpc:connection] [0x600001704ff0] invalidated after the last release of the connection object |
| |
WHY this is happening is a question I can't answer. My read of it's sandbox profile is that it should be allowed access and, more to the point, I haven't found any change between 14.7.4 and 14.7.5 that would lead to that. I've raised the issue the engineer to how maintinas ScopedBookmarkAgent and I'll let you know if that turns anything up.
One suggestion on the mitigation side- what happens if you try resolving the bookmark without security scope? You won't be able to access the file through that URL, but if you can resolve the bookmark to a URL, you could then use that URL to point and open/save panel at the right location so the user can restore access.
Unrelated to the issue: I'd like to express my frustration with the reporting process. I have reported several issues using Feedback Reporter in the past, but almost none of them get an acknowledgement or any reply. Some issues have been fixed, but the reports are still open without any interaction. So I no longer feel like reporting issues, as it appears the work I put into it is not valued. Why bother?
So, let me first say that I absolutely understand where that frustration comes from. We obviously take secrecy very seriously and that makes it very hard to have a process that provides the kind of detail you'd really want. As you might imagine the volume of bugs is quite large, which also leaves plenty of room for mistakes. Lastly, scheduling and development time often means that it can take a year or more for an enhancement or fix to ship, which obviously doesn't feel all that responsive. Nonetheless, filing bugs IS the best tool you have for pushing information into Apple.
I'll also say that in the context of the developer forums, I ask for bugs to be filed because:
-
It's a convenient way to collect the data I need to look into an issue further, particularly large files (like sysdiagnose logs).
-
I'm going to move that bug directly to the engineering team so that they can help me figure out what's going on.
Both of those things have already happened here.
Finally, explaining a bit about what's going on here:
In the past personal TSIs were available and very helpful. Now when I try to contact support directly I'm referred to the dev forums to report it, such that other devs can read it. So I report here publicly and I'm again referred to the private Feedback Assistant, where I have to copy and paste what I've already written above.
So, the first thing I'll say here is that my role in DTS hasn't really changed. My goal is to help you make great software "now". While bugs are often part of that process (typically, because the problem your facing IS "a bug"), my primary focus is still on helping you with your product. Bugs are the reverse of that- they're the tool we use to improve our products. If you have an issue with our products, please file a bug. If you want help with your product, then you should talk to DTS.
However, what has changed is that we've made a very deliberate effort to make the work DTS does more public by focusing much more on the developer forums instead of TSIs. That's why you were redirected to the forums- not to avoid the conversation, but to make the conversation public so that other developers could benefit from it.
__
Kevin Elliott
DTS Engineer, CoreOS/Hardware