Home directory input could be simplified to prevent users from inputting invalid freeform paths
|Reported by:||gcooper||Owned by:|
As noted by bmilman, today one can put in a path that cannot be created via pw because parent directories haven't been created. The problem with not creating all of the parent directories is that it prevents certain processes from working like cron, rsync, etc that depend on a home directory being present when running commands (for various reasons, one being ssh keys, etc).
What I'm requesting is that the user add/edit pane be revised s.t. the user can choose one of the following:
- A path within the directory tree for their home directory 'base path' (basically specifying a stand-in directory for /home), with the assumption that the home directory will default to a subdirectory with their username in it (ex: I wanted a base path of /home; if my username was foo, I would expect a home directory /home/foo be created by the 'pw user add' command).