diff options
author | Aaro Koskinen | 2015-10-16 17:24:46 +0200 |
---|---|---|
committer | Denys Vlasenko | 2015-10-16 17:24:46 +0200 |
commit | 2735bc00e35c5fd8eec6d656f4d8a17ee2630c2a (patch) | |
tree | a04c7e75f1363e431431c24dc36549a5ff7e9595 /coreutils | |
parent | 93dd9fd90ae284e7878767fe14bcb17e3edd9cf8 (diff) | |
download | busybox-2735bc00e35c5fd8eec6d656f4d8a17ee2630c2a.zip busybox-2735bc00e35c5fd8eec6d656f4d8a17ee2630c2a.tar.gz |
cpio: implement -R/--owner
Implement -R/--owner to force ownership of files.
function old new delta
cpio_main 532 586 +54
get_header_cpio 909 939 +30
print 36 65 +29
cpio_o 804 832 +28
cpio_TRAILER - 11 +11
packed_usage 30667 30662 -5
static.trailer 11 - -11
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 4/1 up/down: 152/-16) Total: 136 bytes
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/chown.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/chown.c b/coreutils/chown.c index 679c0d8..eaa1ee2 100644 --- a/coreutils/chown.c +++ b/coreutils/chown.c @@ -11,9 +11,9 @@ /* http://www.opengroup.org/onlinepubs/007904975/utilities/chown.html */ //usage:#define chown_trivial_usage -//usage: "[-Rh"IF_DESKTOP("LHPcvf")"]... OWNER[<.|:>[GROUP]] FILE..." +//usage: "[-Rh"IF_DESKTOP("LHPcvf")"]... USER[:[GRP]] FILE..." //usage:#define chown_full_usage "\n\n" -//usage: "Change the owner and/or group of each FILE to OWNER and/or GROUP\n" +//usage: "Change the owner and/or group of each FILE to USER and/or GRP\n" //usage: "\n -R Recurse" //usage: "\n -h Affect symlinks instead of symlink targets" //usage: IF_DESKTOP( |