Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | chgrp: correct the usage for non-desktop chgrp calls | Liu, Shuang (ADITG/ESM) | 2019-11-17 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When IF_DESKTOP is not defined, chown and chgrp only takes option -R -h, However the usage output of chgrp is wrong: $ ./busybox.nosuid chown Usage: chown [-Rh]... USER[:[GRP]] FILE... $ ./busybox.nosuid chgrp Usage: chgrp [-RhLHP]... GROUP FILE... $ ./busybox.nosuid chgrp -H group dummy chgrp: invalid option -- 'H' Usage: chgrp [-RhLHP]... GROUP FILE... The chgrp is now a wrapper of chown, so the recognized options shall be the same. This is introduced by 34425389e09353a8dacdd6b23a62553f699c544c I would expect the correct behavior shall be the same as chown. So suggest the below patch, the behavior shall be: $ ./busybox.nosuid chgrp Usage: chgrp [-Rh]... GROUP FILE... Signed-off-by: Shuang Liu <sliu@de.adit-jv.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | ||||
* | config: update size information | Denys Vlasenko | 2018-12-28 | 1 | -1/+1 |
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | ||||
* | config: deindent all help texts | Denys Vlasenko | 2017-07-21 | 1 | -1/+1 |
| | | | | | | Those two spaces after tab have no effect, and always a nuisance when editing. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | ||||
* | Update menuconfig items with approximate applet sizes | Denys Vlasenko | 2017-07-18 | 1 | -1/+1 |
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | ||||
* | Convert all coreutils/* applets to "new style" applet definitions | Denys Vlasenko | 2016-11-23 | 1 | -0/+9 |
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | ||||
* | *: remove "Options:" string from help texts | Denys Vlasenko | 2011-06-05 | 1 | -1/+0 |
| | | | | | | | function old new delta packed_usage 28706 28623 -83 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | ||||
* | move help text from include/usage.src.h to coreutils/*.c | Pere Orga | 2011-03-31 | 1 | -0/+23 |
| | | | | | Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | ||||
* | *: make GNU licensing statement forms more regular | Denys Vlasenko | 2010-08-16 | 1 | -1/+1 |
| | | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | ||||
* | add -fvisibility=hidden to CC flags, mark XXX_main functions | Denis Vlasenko | 2007-10-11 | 1 | -1/+1 |
| | | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so | ||||
* | usage.c: remove reference to busybox.h | Denis Vlasenko | 2007-05-26 | 1 | -1/+1 |
| | | | | | *: s/include "busybox.h"/include "libbb.h" | ||||
* | audit small applets and mark some of them as NOFORK. | Denis Vlasenko | 2007-04-10 | 1 | -0/+3 |
| | | | | | Put big scary warnings in relevant places. | ||||
* | diff: failed to confirm "static bug" in gcc - reinstating statics. | Denis Vlasenko | 2007-03-09 | 1 | -4/+1 |
| | | | | microscopic code improvements. | ||||
* | suppress warnings about easch <applet>_main() having | Denis Vlasenko | 2007-02-03 | 1 | -0/+1 |
| | | | | no preceding prototype | ||||
* | done a dozen of randconfig test. guess what? ALL failed... | Denis Vlasenko | 2006-12-30 | 1 | -0/+3 |
| | | | | these are resulting fixes | ||||
* | chgrp: just call chown! :) | Denis Vlasenko | 2006-10-27 | 1 | -38/+10 |
| | |||||
* | getopt_ulflags -> getopt32. | Denis Vlasenko | 2006-10-03 | 1 | -1/+1 |
| | | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit. | ||||
* | move lchown/chown define out of specific files and into platform.h where it ↵ | Mike Frysinger | 2006-07-20 | 1 | -5/+0 |
| | | | | belongs | ||||
* | - remove emacs layout block as suggested by Robert P.J. Day | Bernhard Reutner-Fischer | 2006-05-19 | 1 | -22/+1 |
| | | | | - use shorter boilerplate while at it | ||||
* | - rename libbb's password helpers as suggested in libbb.h | Bernhard Reutner-Fischer | 2005-09-20 | 1 | -1/+1 |
| | | | | | | | | my_getpwnam -> bb_xgetpwnam /* dies on error */ my_getgrnam -> bb_xgetgrnam /* dies on error */ my_getgrgid -> bb_getgrgid my_getpwuid -> bb_getpwuid my_getug -> bb_getug | ||||
* | Remove trailing whitespace. Update copyright to include 2004. | Eric Andersen | 2004-03-15 | 1 | -2/+2 |
| | |||||
* | Patch from Steven Scholz, fix some warnings | Glenn L McGrath | 2003-10-09 | 1 | -1/+0 |
| | |||||
* | Add the "install" applet, move get_ug_id to libbb as its used by chown, | Glenn L McGrath | 2003-09-24 | 1 | -4/+1 |
| | | | | chgrp and install. | ||||
* | Remove remaining libc5 support code | Eric Andersen | 2003-07-22 | 1 | -1/+1 |
| | |||||
* | Update a bunch of docs. Run a script to update my email addr. | Eric Andersen | 2003-07-14 | 1 | -2/+1 |
| | |||||
* | Things my compiler didn't catch... | Manuel Novoa III | 2003-03-19 | 1 | -1/+1 |
| | |||||
* | Major coreutils update. | Manuel Novoa III | 2003-03-19 | 1 | -32/+28 |
| | |||||
* | Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !. | Matt Kraai | 2001-12-20 | 1 | -2/+2 |
| | |||||
* | Major rework of the directory structure and the entire build system. | Eric Andersen | 2001-10-24 | 1 | -4/+3 |
| | | | | -Erik | ||||
* | These do not need initial values. Let them live in the bss. | Eric Andersen | 2001-04-30 | 1 | -1/+1 |
| | | | | -Erik | ||||
* | Fix handling of -R flag. | Matt Kraai | 2001-04-26 | 1 | -0/+1 |
| | |||||
* | As Larry pointed out, this the off by one canbe fixed much more elegantly. | Eric Andersen | 2001-04-26 | 1 | -1/+1 |
| | |||||
* | Fix a silly off-by-one error noticed by Santiago Garcia Mantinan ↵ | Eric Andersen | 2001-04-26 | 1 | -1/+1 |
| | | | | | | <manty@debian.org> -Erik | ||||
* | Larry noticed that chown and chgrp has the version numbers off a bit | Eric Andersen | 2001-04-25 | 1 | -1/+1 |
| | | | | for glibc's lchown support. Thanks Larry. | ||||
* | Move messages.c to libbb. Make each string in messages.c be its own .o file. | Eric Andersen | 2001-04-25 | 1 | -4/+0 |
| | | | | | | | This way, we can new get rid of all that tedious #define rubbish we used to need to enable specific messages. This way is enormously simpler, and as a bonus also ends up saving us 96 bytes. -Erik | ||||
* | Split up chmod_chown_chgrp.c into 3 separate apps. This unfortunately | Eric Andersen | 2001-04-24 | 1 | -0/+94 |
| | | | | | | adds 384 bytes to the overall size. But having each app be standalone is the Right Thing(tm) so we will just have to live with it. -Erik | ||||
* | More stuff works. | Eric Andersen | 1999-10-05 | 1 | -89/+0 |
| | | | | -Erik | ||||
* | Initial revision0_29alpha2 | Eric Andersen | 1999-10-05 | 1 | -0/+89 |