Bug 119513

Summary: User deletion should not silently remove groups
Product: [Fedora] Fedora Reporter: Ben Stringer <ben>
Component: redhat-config-usersAssignee: Brent Fox <bfox>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-05-21 18:48:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ben Stringer 2004-03-31 00:25:50 UTC
Description of problem:
Removing a user will remove also remove their group if they are the
only member of that group. This should either be disabled or the user
should be prompted if they want this to happen. Whilst it makes sense
for "private groups", it does not necessarily make sense for standard
groups.


Version-Release number of selected component (if applicable):
redhat-config-users-1.2.4-1

How reproducible:
absolutely.

Steps to Reproduce:
1. Create a group "transient"
2. Create a user (non-private group) and change their primary group to
"transient"
3. Delete the user.
  
Actual results:
The group "transient" goes too.

Expected results:
The group stays.

Comment 1 Brent Fox 2004-04-21 15:20:39 UTC
The group "transient" will only be removed if it has a gid greater
than 499.  System groups are not removed when a user gets deleted. 
Only groups with gids greater than 499 will get automatically removed.  

Comment 2 Brent Fox 2004-05-21 18:48:44 UTC
Closing as 'notabug'.