aboutsummaryrefslogtreecommitdiff
path: root/coreutils/chown.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *: remove "Options:" string from help textsDenys Vlasenko2011-06-051-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/*.cPere Orga2011-03-311-0/+26
| | | | | Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-161-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>
* cosmetic fixesDenys Vlasenko2010-02-061-5/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* chown: -2 bytesDenys Vlasenko2010-01-231-4/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* chown: support long optionsMatheus Izvekov2010-01-231-1/+17
| | | | | | | | | function old new delta chown_longopts - 81 +81 chown_main 182 192 +10 Signed-off-by: Matheus Izvekov <mizvekov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: mass renaming of USE_XXXX to IF_XXXXDenis Vlasenko2009-04-211-7/+7
| | | | | | and SKIP_XXXX to IF_NOT_XXXX - the second one was especially badly named. It was not skipping anything!
* chown: do not use static dataDenis Vlasenko2008-07-221-20/+30
| | | | | | | | function old new delta chown_main 160 182 +22 fileAction 750 744 -6 ugid 8 - -8
* *: rename ATTRIBUTE_XXX to just XXX.Denis Vlasenko2008-07-051-2/+2
|
* *: introduce and use FAST_FUNC: regparm on i386, otherwise no-onDenis Vlasenko2008-06-271-1/+1
| | | | | | | text data bss dec hex filename 808035 611 6868 815514 c719a busybox_old 804472 611 6868 811951 c63af busybox_unstripped
* ash: optional printf builtin. +25 bytes if off, +35 if on.Denis Vlasenko2008-06-011-1/+0
| | | | | by Cristian Ionescu-Idbohrn.
* *: add -Wunused-parameter; fix resulting breakageDenis Vlasenko2008-03-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta procps_scan 1265 1298 +33 aliascmd 278 283 +5 parse_file_cmd 116 120 +4 dname_enc 373 377 +4 setcmd 90 93 +3 execcmd 57 60 +3 count_lines 72 74 +2 process_command_subs 340 339 -1 test_main 409 407 -2 mknod_main 179 177 -2 handle_incoming_and_exit 2653 2651 -2 argstr 1312 1310 -2 shiftcmd 131 128 -3 exitcmd 46 43 -3 dotcmd 297 294 -3 breakcmd 86 83 -3 evalpipe 353 349 -4 evalcommand 1180 1176 -4 evalcmd 109 105 -4 send_tree 374 369 -5 mkfifo_main 82 77 -5 evalsubshell 152 147 -5 typecmd 75 69 -6 letcmd 61 55 -6 add_cmd 1190 1183 -7 main 891 883 -8 ash_main 1415 1407 -8 parse_stream 1377 1367 -10 alloc_procps_scan 55 - -55 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 7/21 up/down: 54/-148) Total: -94 bytes text data bss dec hex filename 797195 658 7428 805281 c49a1 busybox_old 797101 658 7428 805187 c4943 busybox_unstripped
* add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko2007-10-111-1/+1
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* 'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>.Denis Vlasenko2007-10-011-1/+1
| | | | | 263 bytes saved.
* don't pass argc in getopt32, it's superfluousDenis Vlasenko2007-08-181-1/+1
| | | | | | | | (add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped
* md5_sha1_sum: fix mishandling when run as /bin/md5sum (with path)Denis Vlasenko2007-07-051-29/+31
| | | | | | | | | | | | | | | | | | | | | | chown/chgrp: completely match coreutils 6.8 wrt symlink handling function old new delta recursive_action 411 422 +11 arith 2033 2042 +9 collect_blk 467 474 +7 dhcprelay_main 1122 1125 +3 fsck_main 1909 1911 +2 singlemount 4555 4547 -8 xmalloc_realpath 14 - -14 get_lcm 123 105 -18 ed_main 3111 3084 -27 chown_main 217 183 -34 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 5/4 up/down: 32/-101) Total: -69 bytes text data bss dec hex filename 684132 2744 14000 700876 ab1cc busybox_old 684060 2744 14000 700804 ab184 busybox_unstripped
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* audit small applets and mark some of them as NOFORK.Denis Vlasenko2007-04-101-0/+3
| | | | | Put big scary warnings in relevant places.
* find: fix handling of -pruneDenis Vlasenko2007-04-081-2/+2
| | | | recursive_actions: uppercase flag constants
* - fold recurse, depthFirst and dereference params into one param flags.Bernhard Reutner-Fischer2007-03-291-7/+6
| | | | Minor size improvement (-16b for size, -24b according to bloat-o-meter).
* chown, env: stop using staticsDenis Vlasenko2007-03-141-7/+9
|
* chown: fix comment, fix verbose messageDenis Vlasenko2007-03-081-16/+15
|
* chown: support -H -L -P if ENABLE_DESKTOPDenis Vlasenko2007-03-081-14/+94
| | | | | chmod: cosmetic fixes expr: smallish help for dumb compilers
* start_stop_daemon: add -chuid supportDenis Vlasenko2007-02-261-19/+1
|
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* whitespace fixes (leading spaces to tab)Denis Vlasenko2007-01-131-1/+1
|
* Trailing whitespace removal over entire treeDenis Vlasenko2007-01-111-1/+1
|
* chown: fix handling of "user.group" notationDenis Vlasenko2007-01-031-13/+12
|
* bb_xget[pw/gr]nam were horribly misnamed - fixed.Denis Vlasenko2006-12-281-11/+17
| | | | | | | uidgid_get -> get_uidgid, add additional param (numeric_ok). Make chown use it. chown: fix "chown user: ...." install: fix incorrect use of bb_xget[pw/gr]nam
* recursive_action: add depth paramDenis Vlasenko2006-10-271-3/+5
| | | | chmod: match coreutils versus following links
* chown: add -vcf support if CONFIG_DESKTOPDenis Vlasenko2006-10-271-20/+38
| | | | chmod: stop following symlinks
* message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko2006-10-201-1/+1
|
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-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.
* - remove emacs layout block as suggested by Robert P.J. DayBernhard Reutner-Fischer2006-05-191-8/+0
| | | | - use shorter boilerplate while at it
* avoid signed<->unsigned warning"Vladimir N. Oleynik"2006-01-311-2/+2
|
* - add some ATTRIBUTE_UNUSED.Bernhard Reutner-Fischer2006-01-301-1/+2
| | | | - use shorter boilerplate while at it.
* Fix bug 603: "chown :root thingy" should work now.Rob Landley2006-01-091-7/+4
|
* No, we _want_ the suid and sgid bits reverted by chown, for security reasons.Rob Landley2006-01-061-24/+7
| | | | | They mean something different when the user they're switching to is different, so if you still want suid you reset it afterwards. This is a safety feature.
* - rename libbb's password helpers as suggested in libbb.hBernhard Reutner-Fischer2005-09-201-2/+2
| | | | | | | | 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 Andersen2004-03-151-3/+3
|
* Add the "install" applet, move get_ug_id to libbb as its used by chown,Glenn L McGrath2003-09-241-13/+0
| | | | chgrp and install.
* Preserve suid/sgid bitsGlenn L McGrath2003-09-081-0/+1
|
* Remove remaining libc5 support codeEric Andersen2003-07-221-1/+1
|
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-141-2/+1
|
* Major coreutils update.Manuel Novoa III2003-03-191-49/+55
|
* Patch from mathuria, compatability with solarisGlenn L McGrath2003-02-081-1/+1
|
* Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai2001-12-201-2/+2
|
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-4/+3
| | | | -Erik
* Cleanup from vodzEric Andersen2001-07-101-1/+1
|
* This patch from Lars Kellogg-Stedman, fixes the behavior ofEric Andersen2001-05-111-3/+11
| | | | | | | chown to be consistant with GNU chown, so that it follows symlinks (who cares about the perms on a link anyways?) unless the -h option is supplied. -Erik