dockutil error

johnnasset
Contributor

I'm trying to execute the following script to add a web clip to the dock:

#!/bin/sh

/usr/local/bin/dockutil —-add ‘http://sbac.portal.airast.org' —-label ‘SBAC TA Portal’ —-after Downloads —-allhomes
/usr/local/bin/dockutil —-add ‘http://sbac.portal.airast.org' —-label ‘SBAC TA Portal’ ‘/System/Library/User Template/English.lproj’

I'm getting this error:

/Users/103695/Library/Preferences/com.apple.dock.plist: Property List error: Encountered unexpected EOF / JSON error: JSON text did not start with array or object and option to allow fragments not set.
failed to convert plist "/Users/103695/Library/Preferences/com.apple.dock.plist"

The only difference I see is that these are typically AD accounts, although I have deployed the same type of docktutil script to users w/o issues. Thoughts?

0 REPLIES 0