I've been using dockutil successfully with admin users for some time. Now I'm having an issue with standard users.
This command works both with a direct Terminal command and with a script, for admin users:
/usr/local/bin/dockutil --add 'afp://Server_Name/Archives'
I can use it repeatedly just fine.
However with standard users I get the result:
Script result: afp://Server_Name/Archives already exists in dock. Use --replacing 'afp://Server_Name/Archives' to update an existing item
item afp://Server_Name/Archives was not added to Dock
This is regardless of the presence of the shortcut in the dock.
Adding sudo doesn't help.
sudo /usr/local/bin/dockutil --add 'afp://Server_Name/Archives'
Neither does:
sudo /usr/local/bin/dockutil --add 'afp://Server_Name/Archives' --replacing 'afp://Server_Name/Archives'
Is there a trick to getting dockutil to work with standard users?
Thank you!
