adding user changed home directory location not saved
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GST |
Fix Released
|
Undecided
|
Unassigned | ||
gnome-system-tools (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Binary package hint: gnome-system-tools
From menu select System, Administration, Users and Groups
click "Add" button
create a new user "test" and enter password
click "OK"
without leaving User Settings panel select the new "test" user and click "Advanced Settings"
select "Advanced tab bar" and change home directory from /home/test to something else like /x/test
click "OK"
select either "Use Empty Directory" or "Copy Old Files"
close User Settings panel
enter User Settings again
select "test" user and click "Advanced Settings"
select "Advanced tab bar" and Home Directory is showing /home/test and not /x/test
however if you now change to /x/test again, it does get saved
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gnome-system-tools 2.32.0-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Wed Oct 13 10:24:14 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
LANG=en_DK.utf8
SHELL=/bin/bash
SourcePackage: gnome-system-tools
Confirmed. It seems we're using MAX_GUINT32 as the GID for the user when trying to change its home dir, which always fails. This value isn't supposed to be used after the user has been created, it just means "default GID" and should be updated to a real value imediately after the user's creation.