PackageMaker, Installer, and system folder permissions
PackageMaker, Installer, and system folder permissions
- Subject: PackageMaker, Installer, and system folder permissions
- From: Michael George <email@hidden>
- Date: Fri, 20 Feb 2004 10:53:18 -0500
I am creating PackageMaker packages and running the installer to
install software that I want to distribute. I have noticed, though,
that when the installer runs it changes the permissions of directories
which it accesses.
My package installs a kernel extension into /System/Library/Extensions.
Kernel extensions need to be root:wheel ownership, so I have a
postinstall script that will do a "cd /System/Library/Extensions; chown
-R root:wheel <kextname>.kext".
I also have:
<key>IFPkgFlagAuthorizationAction</key>
<string>RootAuthorization</string>
In the package's Contents/Info.plist file.
However, I just repaired the permissions on my system, installed my
package and then verified the permissions again, and I have found that
the ownership on /System/Library/Extensions has been changed to
<myid>:staff.
Testing another package (an uninstaller), it seems that the target
folder for any installer package is changed to my owner and group.
Why is this happening? Is there a way to keep it from happening?
Thanks!
-Michael
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.