I have a 10.6.8 machine that keeps throwing the above error when policies run. Here is a log from a simple dock item policy:
Sending Wake On LAN command...
Opening SSH Connection to 128.135.205.148...
Accepting authentication method...
Authenticating...
Successfully authenticated.
Verifying Computer's Identity...
The MAC Address has been verified.
Checking Operating System Version...
Running Mac OS X 10.6.8 (10K549)
Verifying /usr/sbin/jamf...
/usr/sbin/jamf is current (8.63)
Verifying /usr/sbin/jamfvnc...
/usr/sbin/jamfvnc does not exist.
Verifying /Library/Preferences/com.jamfsoftware.jamf.plist...
Preparing Policy...
Executing Policy 2013-02-28 at 8:00 AM | dkirk | 1 Computer...
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `/usr/sbin/chown slevmore (Deleted) '//Users/slevmore (Deleted)/Library/Preferences/com.apple.dock.plist' >& /private/tmp/14336.tmp'
Relaunching dock(s)...
Submitting log to https://MYJSS:8443//...
Finished.
I received the same syntax error when running a Flash update on the same machine. Anyone have input on this?