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

Re: PackageMaker, Installer, and system folder permissions


  • Subject: Re: PackageMaker, Installer, and system folder permissions
  • From: Ron Wilson <email@hidden>
  • Date: Sat, 21 Feb 2004 11:52:52 -0800

There's an excellent tutorial at http://developer.apple.com/documentation/Darwin/Conceptual/howto/ kext_tutorials/packaging_kext/packaging_kext.html.

I followed the directions and my kext gets installed correctly with root:wheel.

--Ron

On Feb 20, 2004, at 7:53 AM, Michael George wrote:
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.
_______________________________________________
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.

References: 
 >PackageMaker, Installer, and system folder permissions (From: Michael George <email@hidden>)

  • Prev by Date: Weird xcode exception
  • Next by Date: Java, XCode & Jar references.
  • Previous by thread: PackageMaker, Installer, and system folder permissions
  • Next by thread: Re: com.apple.xcode ... hidden directories inside projects
  • Index(es):
    • Date
    • Thread