• 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
Preferences, Authorization, Writing files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Preferences, Authorization, Writing files


  • Subject: Preferences, Authorization, Writing files
  • From: Frank Fenn <email@hidden>
  • Date: Thu, 6 Feb 2003 19:38:07 -0700

Hi developers,

I've a problem that bugs me for a while now.

1) a preferences pane in /Library/PreferencePanes, this is for administrators and creates a data file in /Library/Application Support

2) the rights are rwxrwxr-x for /Library and for /Library/Application Support

3) I now use the preferences pane as administrator and the data get saved as for example mypref.data (NSArchiver is used here)

4) If I now log in as a normal user and use the prefs pane I see my save data

5) Now I change some settings and want to overwrite the existing data but this will fail, since a normal user has no write access
to the directories mentioned above. But even with authentication services (which rights shall I obtain?) and an admin user name
password the NSArchive operation failed. What am I doing wrong here?

Thanks for your help and ideas.

--

regards
Frank Fenn - Bright Light Software
_______________________________________________
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:
    • Re: Preferences, Authorization, Writing files
      • From: Chris Hanson <email@hidden>
    • Re: Preferences, Authorization, Writing files
      • From: Jeff Disher <email@hidden>
References: 
 >Re: NSConnection (From: Christian Brunschen <email@hidden>)

  • Prev by Date: Re: Cocoa Cleanup & NSConnection
  • Next by Date: Authorisation framework problems
  • Previous by thread: Re: NSConnection
  • Next by thread: Re: Preferences, Authorization, Writing files
  • Index(es):
    • Date
    • Thread