Opened 17 months ago

Closed 8 months ago

#1106 closed enhancement (fixed)

Home directory input could be simplified to prevent users from inputting invalid freeform paths

Reported by: gcooper Owned by:
Priority: minor Milestone:
Component: GUI Version: 8.0.2-RELEASE
Keywords: Cc:

Description

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:

  • /nonexistent
  • 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).

Change History (1)

comment:1 Changed 8 months ago by william

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.