This was a problem with commit 62246202737b4d0 which should have cherry picked from 409370c442a. It was setting the user's home to / on exit from the dialog.
Resolves: rhbz#1245837
From: "Brian C. Lane" bcl@redhat.com
This was a problem with commit 62246202737b4d0 which should have cherry picked from 409370c442a. It was setting the user's home to / on exit from the dialog.
Resolves: rhbz#1245837 --- pyanaconda/ui/gui/spokes/user.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pyanaconda/ui/gui/spokes/user.py b/pyanaconda/ui/gui/spokes/user.py index 6977821..653f107 100644 --- a/pyanaconda/ui/gui/spokes/user.py +++ b/pyanaconda/ui/gui/spokes/user.py @@ -172,11 +172,11 @@ def run(self): # during any earlier run of the dialog, set homedir to the value # in the input box. homedir = self._tHome.get_text() + if not os.path.isabs(homedir): + homedir = "/" + homedir if self._homeSet or self._origHome != homedir: self._homeSet = True self._user.homedir = homedir - if not os.path.isabs(self._user.homedir): - self._user.homedir = "/" + self._user.homedir
if self._cUid.get_active(): self._user.uid = int(self._uid.get_value())
Looks good to me.
Added label: ACK.
Pushed
Closed.
anaconda-patches@lists.fedorahosted.org