One other thing I should mention: the location has to be non-obvious as the 
files being written are DRM files and although I make them invisible, so all 
variants of tmp, etc are out.

Erg




________________________________
From: Dave Geering <dlgeer...@gmail.com>
To: Erg Consultant <erg_consult...@yahoo.com>; cocoa-dev@lists.apple.com
Sent: Thursday, April 30, 2009 4:07:22 PM
Subject: Re: Writable dir for non-admin user outside user's dir

On Fri, May 1, 2009 at 8:52 AM, Erg Consultant <erg_consult...@yahoo.com> wrote:
> Is there any location on the system outside the current user's dir that is 
> writable outside the user's domain? I need my app to create some files when 
> run under a non-admin acct that I need to persist across boots/logins. But 
> every permanent location seems to be locked except for things inside the 
> user's folder. I would have thought /Library/Application support would work 
> but no.....

/private/var/tmp is supposed to persist across reboots, although I'm
not sure if there's a Cocoa way of obtaining this path or whether it
has to be hard-coded . . .



      
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to