[BusyBox 0001139]: "chown" can't process "uname.gname" as before

bugs at busybox.net bugs at busybox.net
Wed Jan 3 20:07:35 UTC 2007


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=1139 
====================================================================== 
Reported By:                rockeychu
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1139
Category:                   Standards Compliance
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             12-29-2006 18:54 PST
Last Modified:              01-03-2007 12:07 PST
====================================================================== 
Summary:                    "chown"  can't process "uname.gname" as before
Description: 
I know it could be deprecated soon after, but for compatible consideration,
it can be corrected with following patch:

Index: coreutils/chown.c
===================================================================
--- coreutils/chown.c   (revision 17103)
+++ coreutils/chown.c   (working copy)
@@ -68,6 +68,7 @@
        if (!groupName) {
                groupName = strchr(*argv, ':');
        }
+       else groupName[0] = ':'; /* replace '.' with ':' */

        /* First, try parsing "user[:[group]]" */
         if (!groupName) { /* "user" */

====================================================================== 

---------------------------------------------------------------------- 
 vda - 01-03-07 12:07  
---------------------------------------------------------------------- 
Fixed in rev 17145, thanks! 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-29-06 18:54  rockeychu      New Issue                                    
12-29-06 18:54  rockeychu      Status                   new => assigned     
12-29-06 18:54  rockeychu      Assigned To               => BusyBox         
01-03-07 12:07  vda            Status                   assigned => closed  
01-03-07 12:07  vda            Note Added: 0001951                          
======================================================================




More information about the busybox-cvs mailing list