• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Preference file for all the users
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preference file for all the users


  • Subject: Re: Preference file for all the users
  • From: Jeff Disher <email@hidden>
  • Date: Wed, 25 Dec 2002 03:49:49 -0500

This is probably a job for /Library/Application Support. It is a location that is world rwx (but make sure you double-check the permissions of any files you create there).

There was much discussion about this folder and its uses a few weeks ago on this list. Check the archives at cocoa.mamasam.com. The conversation was popular around december 15-16 so check hits around that time period.

It started off talking about using this part of the system and later turned into a discussion about proper behavior of software in a multi-user system. A good read if you are coming from a Classic Mac or Windows programming background.

Hope that helps,
Jeff.


On Wednesday, December 25, 2002, at 03:25 AM, Lorenzo Puleo wrote:

Hi,
I use to write the preference file to the
(Home)/Library/Preferences/MyApp.plist
This works for one user only.
Instead I need to write one only preference file for all the users.

Where folder should I write this file in?
Will every user read/write the same Preference file in this directory?

Thank you for helping
--
Lorenzo Puleo
mailto:email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Icon in NSOutlineView
      • From: Justin Lundy <email@hidden>
    • Re: Preference file for all the users
      • From: Lorenzo Puleo <email@hidden>
References: 
 >Preference file for all the users (From: Lorenzo Puleo <email@hidden>)

  • Prev by Date: Preference file for all the users
  • Next by Date: Question about document controlling
  • Previous by thread: Preference file for all the users
  • Next by thread: Re: Preference file for all the users
  • Index(es):
    • Date
    • Thread