Hi,
Please I need some assistance, I have had this issue for a while now.
I have 2 policies running a script
the 1st policy modifies a plist via the script and 2nd policy downloads and installs a package using curl and they both have the same issue.
This is the error I'm getting
Error from policy 1
Script result: /Library/Application Support/JAMF/tmp/New Follow Print Plist: line 4: -u: command not found
/Library/Application Support/JAMF/tmp/New Follow Print Plist: line 7: /Users/patsnous/Library/Application\\ Support/hcpclient/hcpclient.plist: No such file or directory 2022-03-07 08:37:41.105 defaults[61211:847827] Domain /Users/user/Library/Application\\ Support/hcpclient/hcpclient.plist does not exist
Error from policy 2
curl: (23) Failed writing body (0 != 1388) tar: Error opening archive: Failed to open 'elastic-agent-7.16.3-darwin-x86_64.tar.gz' /Library/Application Support/JAMF/tmp/Elastic Agent: line 11: cd: elastic-agent-7.16.3-darwin-x86_64: No such file or directory /Library/Application Support/JAMF/tmp/Elastic Agent: line 13: ./elastic-agent: No such file or directory /Library/Application Support/JAMF/tmp/Elastic Agent: line 15: elastic-agent: command not found