-[NSUserDefaults initWithUser:] broken?
-[NSUserDefaults initWithUser:] broken?
- Subject: -[NSUserDefaults initWithUser:] broken?
- From: Andreas Monitzer <email@hidden>
- Date: Thu, 6 Sep 2001 00:42:27 +0200
I've got a Foundation tool that is run as root and has to access regular
users' defaults.
[[NSUserDefaults alloc] initWithUser:@"otheruser"] (which should be
correct according to the docs) always returns the defaults of the current
user! Looks like a critical bug (for my app), should I report it?
Any idea for a workaround other than accessing
~user/Library/Preferences/domain.plist (which could break someday)?
(this was tested on a hypothetical system)
andy
--
Description forthcoming.