Skip to main content
Question

Dockutil Question


Forum|alt.badge.img+9

I'm pushing out a dockutil script nested in the outset login-once folder, for AD users....

I have a couple of lines in the script adding: ~/Documents and ~/Downloads

Both are now showing up as Locked folders. To be clear, they are tagged as such, but still work. In other words, each has the red stop signal on them, but all contents can be listed.

I thought this was maybe a timing thing, maybe the icon was being pulled early, so I added a "sleep 5" to the script to no avail.

Any ideas?

2 replies

Forum|alt.badge.img+16
  • Valued Contributor
  • 1002 replies
  • June 12, 2018

It would seem to be running it not in user context when called like that.
I am making the same calls but just using a script from a LaunchAgent (with a simple flag file to tell if it has been run previously) and it certainly works fine like that.


Forum|alt.badge.img+9
  • Author
  • Contributor
  • 25 replies
  • June 13, 2018

Hmm, thanks @look I'll check that out.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings