So, I'm attempting to run a .sh script form the KACE dependency directory and am continually reeving an error. 

The error: 
/bin/sh: sh "/Library/Application Support/Dell/KACE/data/kbots_cache/packages/kbots/1714/macAdmin.sh": No such file or directory
ProcessOps_LaunchProgram: Launch failed: 0 exitCode=127
The command I'm running is sh "$(KACE_DEPENDENCY_DIR)/macAdmin.sh".
3 Comments   [ - ] Hide Comments


  • Can you post a picture of the script configuration?
    • I've updated the question with a picture as requested
  • Have you tried using the Online Shell Script option instead of the KScript?
  • What do you have configured for targeted OS and "Select Specific Operating System" option?
Please log in to comment

Answer this question or Comment on this question for clarity


I believe in the Verify area, the "File" field you just need "chmod", and the rest of the line goes into the "Parameters" field.

Directory: ______
File: __chmod___
Wait for Completetion
Parameters: __+x "(KACE_DEPENDENCY_DIRECTORY)/macAdmin.sh"

The way you have it, I don't believe the Verify area is actually changing the permissions on the file (but it is running "chmod", so it "Succeeds"), therefore the running of the file in the "On Success" area isn't able to run.
Answered 12/07/2017 by: kentwest
Second Degree Blue Belt

Please log in to comment
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja