Script not found during imaging?

Brad_G
Contributor II

I'm running JSS 8.52 on a Windows 2008R2 VM and seeing a peculiar issue. I'm using the "flush policy script" from the Resource Kit. I've got it in my configuration and it is in the Scripts folder on the Casper share but I get an error in the logs that it doesn't exist. I've tried deleting it and copying it back over but that didn't solve it. Anyone else see this behavior??

---snip of partial log file---
Setting computer name to "IUCC-2860M002"...
Running flushPolicyHistory.sh...
The script does not exist in the Scripts folder.
Running Public-disableKeyboardSetupAssistant.sh...
The script does not exist in the Scripts folder.
Creating /private/etc/jamf.conf...

3 REPLIES 3

jarednichols
Honored Contributor

Check the permissions. If your Casper readonly account can't see it then that could explain it.

Brad_G
Contributor II

Hmm...didn't think about that. Mounting the file share and using terminal it appears all the directories have the same permissions. The Packages folder (where the OS image and other installers are located) is accessible as it images fine with the exception of seeing the scripts.

I'll have to dive into it more next week.

Brad_G
Contributor II

I just got back to looking at this...

I can create a policy in the JSS to execute the script and that is successful. I assume (?) that the imaging process and the policy process all use the same account to access the share??

Any other ideas?