Re: applicationSupportDirectory access for admin and standard users
Re: applicationSupportDirectory access for admin and standard users
- Subject: Re: applicationSupportDirectory access for admin and standard users
- From: Sean McBride <email@hidden>
- Date: Mon, 21 Dec 2015 17:24:15 -0500
- Organization: Rogue Research Inc.
On Mon, 21 Dec 2015 22:16:39 +0000, Jonathan Mitchell said:
>My app seems to be having trouble reading and writing to the
>applicationSupportDirectory depending on whether the logged in user is
>an admin or standard user.
>I don’t use the sandbox.
>
>NSURL *appSupportDir = [[NSURL alloc] initFileURLWithPath:
>[[NSFileManager defaultManager] applicationSupportDirectory] isDirectory:YES];
>
>Is there anything I need to be aware of here?
What's "trouble"? What error code do you get trying to write to the directory?
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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