• 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
PackageMaker, Installer, and system folder permissions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: PackageMaker, Installer, and system folder permissions
      • From: Ron Wilson <email@hidden>
  • Prev by Date: XCode 1.1.1 Download version
  • Next by Date: Re: com.apple.xcode ... hidden directories inside projects
  • Previous by thread: Re: XCode 1.1.1 Download version
  • Next by thread: Re: PackageMaker, Installer, and system folder permissions
  • Index(es):
    • Date
    • Thread