kcrawford / dockutil

command line tool for managing dock items
http://patternbuffer.wordpress.com
Apache License 2.0
1.36k stars 131 forks source link

Dock set correctly but cannot be changed by User #77

Closed HendersonD2 closed 6 years ago

HendersonD2 commented 6 years ago

Dockutil 2.0.5 under High Sierra. Running Dockutil using script in Jamf. The dock is set correctly but the end user cannot change it. The end user can drag items off the Dock and add items fine. A log off and back on and the Dock is once again set to the default Dock setup using Dockutil

vasquesbc commented 6 years ago

i suppose the script is running as root or other user so it changes the owner of the dock .plist. i use:

sudo -u USERNAME dockutil ...

to prevent that.

regards, chris

Am 09.07.2018 um 16:34 schrieb HendersonD2 notifications@github.com:

Dockutil 2.0.5 under High Sierra. Running Dockutil using script in Jamf. The dock is set correctly but the end user cannot change it. The end user can drag items off the Dock and add items fine. A log off and back on and the Dock is once again set to the default Dock setup using Dockutil

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kcrawford/dockutil/issues/77, or mute the thread https://github.com/notifications/unsubscribe-auth/AGkkFV1w4Yl3esnk6kTqO65lRCvf_S5xks5uE2oDgaJpZM4VH0fF.

HendersonD2 commented 6 years ago

This was my goof. I had another Dockutil script also running that put an item in the Dock everytime. This script was written incorrectly. Once I fixed it, problem solved