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

bugs at busybox.net bugs at busybox.net
Fri Dec 29 18:54:41 PST 2006


The following issue has been SUBMITTED. 
====================================================================== 
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:                     assigned
====================================================================== 
Date Submitted:             12-29-2006 18:54 PST
Last Modified:              12-29-2006 18:54 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" */

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

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         
======================================================================



More information about the busybox-cvs mailing list