pycreateuserpkg icon indicating copy to clipboard operation
pycreateuserpkg copied to clipboard

Create user path

Open damacguy opened this issue 6 years ago • 4 comments

I recently swapped to pycreateuserpkg from createuserpkg. With createuserpkg it seems that the user path was created, but pycreateuserpkg doesn't do this. So my "install on restart" packages in Jamf can't install preferences since the path doesn't exist for existing users. Can we add a switch/option to create the default user folders when the pkg is installed?

damacguy avatar Jan 18 '18 19:01 damacguy

This is not something I need, so I don't see myself working on it any time soon. Packages created with pycreateuserpkg work when installed to volumes other than the current boot volume; I wonder if it's possible to do the "right thing" as far as creating the user home folder when installing to a volume other than the current boot volume...

gregneagle avatar May 07 '18 23:05 gregneagle

I believe I'm seeing the same thing as damacguy: I have a pycreateuserpkg pkg where I defined -H /Users/localadmin, being installed on 10.14.0. Expected behavior: /Users/localadmin would be present. Observed behavior: /Users/localadmin is not present, multiple errors due to the path being absent when logging in as localadmin. Install is coming through munki, so it's writing to the current boot volume.

swy avatar Oct 30 '18 17:10 swy

-H specifies the home path. It doesn't create it if it doesn't exist.

gregneagle avatar Oct 30 '18 18:10 gregneagle

I ran into a similar issue with not having the user path created with this build of pycreateuserpkg. In my case I had a post install script that would disable iCloud along with Siri and a couple of other things so that the startup assistant wouldn't "spam" a user with all these pop-ups on first login. I managed to modify my script to create the home folder as well as disable all pop-ups on first login. Feel free to use it or modify for your own purposes @swy. DisableiCloud.txt

OldManWarren avatar May 02 '19 15:05 OldManWarren