Re: Security-scoped bookmark and screensaver
site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mac.com; s=1a1hai; t=1704294954; bh=2mQHOlWMSz8g6hQf56JD4YofwLNzn6sm/SMaU51DHLk=; h=Content-Type:From:Mime-Version:Subject:Date:Message-Id:To; b=dxwFByiPTZIEhjbFtzORFK4r74rcjH31hshSKeLmGCF8WLffJL1yKlHPxBcm7ioOR GQNQh4slOOS1o1PqZsywaPDAiGs4Bp72BWcJ5vjdMf6BiHt12If+mf0ReydK+eUHPl mpNpPWj3c9KwLI5WIOAFSLTVkcrOmGzYpUGgx+hSEZ8gsJaPo1A6vTXpQkWwWPohQ1 0YSer3soYD5GkL4i/6D9VtCT3KnLR7kzdV2O6+LLPxFk9cRCT+sr7v9ZkPgudgzEtd MvBbFeuEoU6/SM3pmZGqxenkKf1Xq9JgXR3QXrJ5SVH+NHh2xliTNgS94vLno+HDVO jHoE8OIJaOTLA==
On Jan 3, 2024, at 06:20, Gabriel Zachmann via Cocoa-dev <cocoa-dev@lists.apple.com> wrote:
From one of the users of my screensaver, I get the issue report that resolving the SSB does not work. He is running macOS 10.14.6 on a Mac Mini. I have compiled my screensaver using the current version of Xcode, under macOS 14, but for the target macOS 10.13.
When my screensaver tries to resolve the bookmark, I get the infamous Code=259 "The File couldn't be opened because it isn't in the correct format."
This happens, when my screensaver is launched by the ScreenSaverEngine. When my screensaver is running in System Preferences, in the thumbnail window, everything is fine, and resolving the bookmark works, of course. Also, there are other users of my screensaver (including me), where it runs just fine.
For that user, the directory for which my screensaver creates the bookmark is on an external HD.
Is that use running 10.10? Googling reveals a bug resolving SSBs on external drives that was fixed in 10.11.6. It’s been a while since I’ve dealt with SSBs, but do you even need them for external devices? You also didn’t say if you tried to duplicate the user problem by using your own external drive. If you can, then you need to find the work-around. Steve via iPad _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Steve Mills via Cocoa-dev