Re: music.read-only sandbox entitlement doesn't seem to work
Re: music.read-only sandbox entitlement doesn't seem to work
- Subject: Re: music.read-only sandbox entitlement doesn't seem to work
- From: Michael Nickerson <email@hidden>
- Date: Mon, 09 Jan 2012 14:46:03 -0500
On Jan 09, 2012, at 12:52 PM, Michael Crawford wrote:
> I'm converting over a legacy Core-Audio application to run sandboxed. This app normally access files in the iTunes library in order to analyze them for BPM information. Enabling the music.read-only entitlement does not work.
>
> com.apple.security.assets.music.read-only
>
> I get the following error:
>
> deny file-read-data /Users/smj/Music/iTunes/iTunes Music/Depeche Mode/Violator/01 World In My Eyes.mp3
>
> I have been able to overcome this problem by adding the temporary exception to perform relative reads from the users home directory using this path:
>
> /Music/iTunes/iTunes Music/
>
I don't have a solution for you, but I wanted to point out that even using temporary exceptions won't work for everyone - you can change iTune's music library to some other path within iTunes.
--------------------------------------
Darkshadow
(aka Michael Nickerson)
http://www.nightproductions.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden