• 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
Permissions question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Permissions question


  • Subject: Permissions question
  • From: John Scalo <email@hidden>
  • Date: Mon, 02 Dec 2002 23:18:11 -0800

I have a situation where I need a user-level process to be able to read,
write, and create some files, but want to prevent the user (non-admin) from
seeing or deleting those files in the Finder. My thought is to put these
files inside a folder with mode=777, but to have that folder inside another
with mode=770.

So for example

/Library/Application Support/My App/Restricted Data/files.*
775 775 770 777 777

This succeeds in keeping the user from browsing into the My App folder in
the Finder, but will a non-admin process (that is, one launched by a
non-admin user) have free rein inside the Restricted Data folder or are
suitable permissions required all the way up the path?

Thanks!
John
_______________________________________________
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: Permissions question (follow up)
      • From: John Scalo <email@hidden>
    • Re: Permissions question
      • From: Mike Shields <email@hidden>
  • Prev by Date: Re: NSToolbars and keyboard navigation
  • Next by Date: Re: Optimizing NSView Performance
  • Previous by thread: Problems with tiff files in application
  • Next by thread: Re: Permissions question
  • Index(es):
    • Date
    • Thread