I want to have all accounts setup with a default dock so I am modifying a dock and then running the following command ( i don't want to use dockutil or any other utility like that). I did the 'Dock' payload in a policy but it only modifies the dock of existing users, when new users are created they get the default MAC dock.
sudo cp ~/Library/Preferences/com.apple.dock.plist /System/Library/User Template/English.lproj/Library/Preferences
I am also copying it to the desktop and running
sudo cp ~/Desktop/com.apple.dock.plist /System/Library/User Template/English.lproj/Library/Preferences
I create new user accounts and the dock looks good, but to the left of the downloads folder of these new users docks there is an extra 'downloads' plain looking folder with a red circle white line (that locked icon).
the only thing i can think of is it's copying the downloads folder of the original dock i copied. I did a test download of a file and it put the downloaded file in both folders. I am able to access both folders, but its all in one downloads area (it's not creating an extra downloads directory for that user). It's not placing the downloaded file into the downloads directory of the account i copied the .plist from
does anyone have any idea on what is happening and how i can stop this from happening?