• 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: user access privileges to plist in /library/preferences
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: user access privileges to plist in /library/preferences


  • Subject: Re: user access privileges to plist in /library/preferences
  • From: Sjors van Berkel <email@hidden>
  • Date: Fri, 27 Mar 2009 18:50:01 +0100

Hi,

if you save the file in ~/library/preferences/ the user will have access to the files because it is in the local user directory.

Hope that helps,

Sjors

Op 27 mrt 2009, om 18:44 heeft <email@hidden> <email@hidden> het volgende geschreven:



Hi, I'd like to load/save some global preferences of my app. I have it all
as an NSMutableDictionary and I load/save it as a plist in
/library/preferences.


If the user logged in does not have admin rights obviously the file does
not save. How can I overcome this problem programatically from my app?
_______________________________________________


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

_______________________________________________

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


  • Follow-Ups:
    • Re: user access privileges to plist in /library/preferences
      • From: <email@hidden>
References: 
 >user access privileges to plist in /library/preferences (From: <email@hidden>)

  • Prev by Date: Number of NSMetadataQuery objects limited?
  • Next by Date: Re: Help with implementing delegates
  • Previous by thread: Re: isEqual, isEqualToString, compare behaviors
  • Next by thread: Re: user access privileges to plist in /library/preferences
  • Index(es):
    • Date
    • Thread