• 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: Proper permissions magic sauce to get files owned by me owned by my users?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proper permissions magic sauce to get files owned by me owned by my users?


  • Subject: Re: Proper permissions magic sauce to get files owned by me owned by my users?
  • From: Stéphane Sudre <email@hidden>
  • Date: Sat, 19 May 2007 23:46:38 +0200


On samedi, mai 19, 2007, at 04:42 AM, Mike wrote:

Just write a postinstall shell script that sets the permissions.

If you don't know in advance what permissions the installed app is expecting on the files, then it's kind of hard to know what permissions you need to set.

As with all installers, the permissions (and owner/group) depends on the location of the application.


If the application is in /Applications, then something different from root:admin (775/664) is probably wrong.

If the application is in ~/, then the owner and group are either (user_id:user_id or user_id:staff) depending on the OS version you're running.

Where is the application supposed to be installed?

If you need to change the permissions on some folders that already exists, there is a flag to do so in Apple's package format (see the Info pane if you're running PackageMaker on 10.2, the Settings pane if you're using a 3rd party application).



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Proper permissions magic sauce to get files owned by me owned by my users?
      • From: Paul Miller <email@hidden>
References: 
 >Re: Proper permissions magic sauce to get files owned by me owned by my users? (From: Mike <email@hidden>)

  • Prev by Date: Re: Proper permissions magic sauce to get files owned by me owned by my users?
  • Next by Date: Re: Proper permissions magic sauce to get files owned by me owned by my users?
  • Previous by thread: Re: Proper permissions magic sauce to get files owned by me owned by my users?
  • Next by thread: Re: Proper permissions magic sauce to get files owned by me owned by my users?
  • Index(es):
    • Date
    • Thread