• 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
Dir creation from installer tool is always locked
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dir creation from installer tool is always locked


  • Subject: Dir creation from installer tool is always locked
  • From: Mike <email@hidden>
  • Date: Fri, 18 Apr 2008 15:09:35 -0700

No matter what I do, and no matter what permissions I give to subpackages in my metapackage, when I have my postinstall script run a CoreFoundation tool that I bundle in my installer, any directories created by my tool at postinstall time are created with 'system' as being the owner, and hence such directories are locked. How do I create a directory from within a postinstall tool that is unlocked?

I had assumed that since the package was running with root permissions and since the installer has authorization, the directory would be created with unlocked permissions. Attempting to set the owner or group or permissions on any created dirs after they are created also fails.

Thanks,

Mike
_______________________________________________
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: Dir creation from installer tool is always locked
      • From: Stéphane Sudre <email@hidden>
  • Prev by Date: Xcode 2.5 PackageMaker on Leopard - command line problem
  • Next by Date: Re: Dir creation from installer tool is always locked
  • Previous by thread: Xcode 2.5 PackageMaker on Leopard - command line problem
  • Next by thread: Re: Dir creation from installer tool is always locked
  • Index(es):
    • Date
    • Thread