AFP548

Problem with launchdaemon and permissions

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.
Exit mobile version