Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFPreferences AnyUser+AnyHost no longer saves anything?



Ah, ok. That makes me feel less insane.

So kCFPreferencesAnyUser/kCFPreferencesAnyHost is:

/Network/Library/Preferences <deprecated>

and

kCFPreferencesAnyUser/kCFPreferencesCurrentHost is:

/Library/Preferences/

and

kCFPreferencesCurrentUser/kCFPreferencesCurrentHost is:

~/Library/Preferences/ByHost/

For some reason, I had thought AnyUser/CurrentHost would also get a ByHost subfolder.

Thanks for clearing this up.

Ack, at 10/30/07, Chris Parker said:

The release note is a bit opaque on this; sorry about that.

The kCFPreferencesAnyUser/kCFPreferencesAnyHost source is supposed to correspond to /Network/Library/Preferences. However, this particular source has been disabled since Mac OS X 10.0. Historically it was backed by a plist in the wrong location (namely /Library/Preferences/Network, which isn't an "AnyUser/AnyHost" location). This wasn't doing what people expected (whether they realized it or not).

If what you're looking for is "All users on this computer", then you're looking for kCFPreferencesAnyUser/kCFPreferencesCurrentHost which corresponds to /Library/Preferences.

--


Sincerely, Rosyna Keller Technical Support/Carbon troll/Always needs a hug

Unsanity: Unsane Tools for Insanely Great People

It's either this, or imagining Phil Schiller in a thong.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >CFPreferences AnyUser+AnyHost no longer saves anything? (From: Rosyna <email@hidden>)
 >Re: CFPreferences AnyUser+AnyHost no longer saves anything? (From: Chris Parker <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.