I'm getting a sandbox_extension_issue_file
error [1: Operation not permitted]
from ScopedBookmarkAgent
while trying to resolve a successfully created security-scoped bookmark via URL(resolvingBookmarkData:options:relativeTo:bookmarkDataIsStale:)
which then produces the error
Error Domain=NSCocoaErrorDomain Code=256 "Couldn't issue sandbox extension for the resolved URL"
The error only occurs for files under a dedicated folder /System/Volumes/Data/Test
and not for files and folders under, e.g., /Users/...
From what I understand, everything at /System/Volumes/Data/
and below should be accessible for the user.
I've made sure that the Test folder has read and write permissions for the current user and changed ownership of the folder to username:staff
, where username
denotes my local user name.
This happens both under macOS Big Sur 11.6.2 and macOS Monterey 12.1.
Any help is much appreciated!