Home Forums Software InstaDMG Problem with launchdaemon and permissions

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #375605
    hbsurfdog
    Participant

    Hi,

    I’m trying to incorporate a package into my InstaDMG build that will install a launchdaemon that will run a script on first boot. So, I have created a package that 1) installs the script into /library/scripts and 2) installs a plist in the /library/launchdaemons directory in order to create the launchdaemon. However, when I examine the logs after the first boot, I’m noticing I’m getting a permissions error when the launchdaemon tries to run the script. Upon further inspection, I’m noticing that the scripts permissions are missing the execute permission and don’t match what I specified in packagemaster. I have tried using Iceberg to see if I got a different result, but I don’t. What am I missing here? Thanks in advance.

    #375607
    Rusty Myers
    Participant

    Try rebuilding your package. Sometimes I notice my pmdocs get messed up when I work from a afp share. My workflow is usually changing the permissions on the file to the root:wheel 750 or 700 and then adding it to the package maker doc. Then I double, triple, and quadruple check the permissions. Also, what version of package maker are you using?

    #375641
    hbsurfdog
    Participant

    Thanks for the advice Spider and the quick response. I’m going to recreate everything and give it another try. I’m using Packagemaker 3.0.3.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Comments are closed