Re: iTune Plist changes from NSUserdefaults
Re: iTune Plist changes from NSUserdefaults
- Subject: Re: iTune Plist changes from NSUserdefaults
- From: Jens Alfke <email@hidden>
- Date: Sun, 22 Dec 2013 15:09:46 -0800
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