]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Do not let pw.conf(5) or -M option affect creation of basehome, e.g., /home.
authorjkim <jkim@FreeBSD.org>
Fri, 4 Feb 2011 19:49:02 +0000 (19:49 +0000)
committerjkim <jkim@FreeBSD.org>
Fri, 4 Feb 2011 19:49:02 +0000 (19:49 +0000)
commitbb6fc35ada09f439d635af3a6e0e2f3bfaa35923
tree942deacdb1c7c438176cc4d5d05d23c8cd708506
parent96bbcd53881415ab37e98125d25d776cc379b857
Do not let pw.conf(5) or -M option affect creation of basehome, e.g., /home.
When the basehome does not exist, it creates all intermediate directories as
required, which is logically equivalent to mkdir(1) with -m and -p options.
However, it modifies all intermediate directories, not just the final home
directory unlike mkdir.  This problem was introduced in two revisions, i.e.,
r1.59 (SVN r167919) and r1.60 (SVN r168044).

MFC after: 1 month
usr.sbin/pw/pw_user.c