Re: iTune Plist changes from NSUserdefaults
Re: iTune Plist changes from NSUserdefaults
- Subject: Re: iTune Plist changes from NSUserdefaults
- From: Madhavi Gundeti <email@hidden>
- Date: Tue, 24 Dec 2013 11:02:05 +0530
Hi Jens,
Thank you so much for the reply.
But Is there any way to change other user defaults as root user??
Thanks and Regards,
Madhavi G.
On Mon, Dec 23, 2013 at 4:39 AM, Jens Alfke <email@hidden> wrote:
>
> On Dec 11, 2013, at 4:45 AM, Madhavi Gundeti <email@hidden>
> wrote:
>
> Please let me know what I am missing here. Why I am not able to change
> these settings as root user.
>
>
> Because every user has their own defaults. If you use NSUserDefaults in a
> process whose userid is root, you’re changing the defaults of the ‘root'
> account, not a real user.
>
> —Jens
>
_______________________________________________
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