[Bug 979] "delgroup" doesnt delete a user from a secondary group

bugzilla at busybox.net bugzilla at busybox.net
Fri Dec 31 01:58:58 UTC 2010


https://bugs.busybox.net/show_bug.cgi?id=979

Denys Vlasenko <vda.linux at googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #1 from Denys Vlasenko <vda.linux at googlemail.com>  ---
Current git has it fixed:

# ./busybox | head -1
BusyBox v1.19.0.git (2010-12-30 23:21:08 CET) multi-call binary.

# grep dummy /etc/passwd /etc/group
/etc/passwd:dummy:x:1011:100:Test case:/mnt/users/Test case:/bin/sh
/etc/group:testgroup:x:1001:dummy

# id dummy
uid=1011(dummy) gid=100(users) groups=100(users),1001(testgroup)

# ./busybox delgroup dummy testgroup

# grep dummy /etc/passwd /etc/group
/etc/passwd:dummy:x:1011:100:Test case:/mnt/users/Test case:/bin/sh

I think 1.18.x also has it fixed. If not, please reopen the bug.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list