Re: Writable dir for non-admin user outside user's dir
Re: Writable dir for non-admin user outside user's dir
- Subject: Re: Writable dir for non-admin user outside user's dir
- From: Erg Consultant <email@hidden>
- Date: Thu, 30 Apr 2009 16:26:51 -0700 (PDT)
I should have also mentioned I have to support 10.4+ as this is for a casual home market where lots of users have older configurations.
Erg
________________________________
From: Stephen J. Butler <email@hidden>
To: Cocoa-Dev List <email@hidden>
Sent: Thursday, April 30, 2009 4:16:03 PM
Subject: Re: Writable dir for non-admin user outside user's dir
On Thu, Apr 30, 2009 at 5:52 PM, Erg Consultant
<email@hidden> 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.....
Looks like on 10.5 /Users/Shared is open for all to read/write to.
However, in your app you are going to have to pay special attention to
umask to make sure files you create are writable by other users.
_______________________________________________
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
_______________________________________________
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