Re: Proper permissions magic sauce to get files owned by me owned by my users?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com User-agent: Thunderbird 2.0.0.0 (Windows/20070326) On samedi, mai 19, 2007, at 04:42 AM, Mike wrote: Just write a postinstall shell script that sets the permissions. /Applications -- Paul Miller | paul@fxtech.com | www.fxtech.com | Got Tivo? _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... Stéphane Sudre wrote: 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. Yeah, it seems that way, but the application is not mine and it seems to be installed with the login users' permissions. 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). I tried that, but it only worked on three of the four machines I tested it on. But - the application seems especially picky about the permissions on these files I am installing. I added a postflight script that changed the ownership of my files to match the application's, and all is well now. This email sent to site_archiver@lists.apple.com
participants (1)
-
Paul Miller