Misleading message about deleting user directory
Bug #426125 reported by
Barry Klein
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GST |
Fix Released
|
Undecided
|
Unassigned | ||
gnome-system-tools (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: gnome-system-tools
Release: Jaunty
Package: gnome-system-tools 2.22.2-0ubuntu4
File: users-admin
Deleting a user gives the following message:
"Are you sure you want to delete the account “<username>”?
This will disable this user’s access to the system without deleting the user’s home directory."
If you delete the user, then try to add a user of that name, you get the message:
"User name “<username>” already exists. Please select a different user name." This is related to bug 129443.
In fact, the “Delete” has deleted the user and the user's home directory but not the user's group.
The message states that the user's home directory will not be deleted, but it is deleted.
Changed in gnome-system-tools (Ubuntu): | |
status: | New → Confirmed |
tags: | added: bitesize |
Changed in gnome-system-tools (Ubuntu): | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
Hm, you're raising an issue here, but I'd really like you to try the last version in Karmic.
First, I don't think any version of users-admin ever removed the user home directory (which is something I'd like to solve). Could you check that you can reproduce it?
Then, I guess we now have improved the error message recently (i.e. in Karmic). Now we say that the group already exists, which is more correct. I'd like to actually fix this by:
- removing the group when deleting the user, if the user is the only member of it
- if a group already exists with the name of the user, ask to use that group, or change it
But I can't do that now because we're far too close from the GNOME release - only bug fixes should go in. String changes are forbidden, I may still check whether removing the group together with the user would be easy enough to go in now...
As a workaround, if the main group already exists, you can force it to be used by selecting it in the list on the Advanced tab. That's in the Karmic version.