[BusyBox 0001411]: chgrp with no arguments reports argument list for chown

bugs at busybox.net bugs at busybox.net
Tue Jul 3 17:21:47 UTC 2007


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1411 
====================================================================== 
Reported By:                kiltedknight
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1411
Category:                   Documentation
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             06-29-2007 08:54 PDT
Last Modified:              07-03-2007 10:21 PDT
====================================================================== 
Summary:                    chgrp with no arguments reports argument list for
chown
Description: 
chgrp_main() should abort before even calling chown_main() when no or
incorrect arguments are present, otherwise you list out arguments that are
not used by chown.
====================================================================== 

---------------------------------------------------------------------- 
 vda - 06-30-07 10:17  
---------------------------------------------------------------------- 
Can you give an example? It works for me:

# ./busybox chgrp
BusyBox v1.7.0.svn (2007-06-30 12:02:05 CEST) multi-call binary

Usage: chgrp [-RhLHPcvf]... GROUP FILE...

Change the group membership of each FILE to GROUP

Options:
        -R      Recurse directories
        -h      Affect symlinks instead of symlink targets
        -L      Traverse all symlinks to directories
        -H      Traverse symlinks on command line only
        -P      Do not traverse symlinks (default)
        -c      List changed files
        -v      Verbose
        -f      Hide errors

# ./busybox chown
BusyBox v1.7.0.svn (2007-06-30 12:02:05 CEST) multi-call binary

Usage: chown [-RhLHPcvf]...  OWNER[<.|:>[GROUP]] FILE...

Change the owner and/or group of each FILE to OWNER and/or GROUP

Options:
        -R      Recurse directories
        -h      Affect symlinks instead of symlink targets
        -L      Traverse all symlinks to directories
        -H      Traverse symlinks on command line only
        -P      Do not traverse symlinks (default)
        -c      List changed files
        -v      List all files
        -f      Hide errors 

---------------------------------------------------------------------- 
 kiltedknight - 07-03-07 10:21  
---------------------------------------------------------------------- 
No... you don't understand.  All of the listed options for chgrp are not
needed, nor do they work for chgrp.  Why display them? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-29-07 08:54  kiltedknight   New Issue                                    
06-29-07 08:54  kiltedknight   Status                   new => assigned     
06-29-07 08:54  kiltedknight   Assigned To               => BusyBox         
06-29-07 09:28  kiltedknight   Issue Monitored: kiltedknight                    
06-30-07 10:17  vda            Note Added: 0002539                          
07-03-07 10:21  kiltedknight   Note Added: 0002550                          
======================================================================




More information about the busybox-cvs mailing list