Notes |
(0002539)
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 |
| |
(0002550)
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? |
| |
(0002551)
kiltedknight
07-03-07 10:23
|
In fact, the only option that should be listed for chgrp is -R, since it's the only one that actually works for that. |
| |
(0002552)
kiltedknight
07-03-07 10:26
|
Bleh... ok... I've got to get with the other people here and have them be a bit more clear with things.
Anyway, in 1.4.2, -c does not work as expected. |
| |
(0002555)
vda
07-04-07 11:55
|
What option does not work? Let me check...
# ./busybox chgrp --help
BusyBox v1.7.0.svn (2007-07-01 20:20:44 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
# mkdir zz
# ln -s zz zzl
# >zz/file
# ./busybox chgrp -Rv 1 zz
changed ownership of 'zz' to 0:1
changed ownership of 'zz/file' to 0:1
# ./busybox chgrp -Rv 2 zzl
changed ownership of 'zzl' to 0:2
# ls -ld zz zzl
drwxr-xr-x 2 root 1 72 Jul 4 20:48 zz
lrwxrwxrwx 1 root 2 2 Jul 4 20:47 zzl -> zz
# ./busybox chgrp -RvL 3 zzl
changed ownership of '/.1/usr/srcdevel/bbox/fix/busybox.t5/zz' to 0:3
changed ownership of '/.1/usr/srcdevel/bbox/fix/busybox.t5/zz/file' to 0:3
# ./busybox chgrp -RcL 4 zzl
changed ownership of '/.1/usr/srcdevel/bbox/fix/busybox.t5/zz' to 0:4
changed ownership of '/.1/usr/srcdevel/bbox/fix/busybox.t5/zz/file' to 0:4
# ./busybox chgrp -RcL 4 zzl
# _
Well, apart from -L unexpectedly giving fully-resolved names, at least -R -c -v -L seem to work. |
| |
(0002599)
vda
07-13-07 16:21
|
Fixed "full patchname" buglet. Other than that, I don't see any problems |
| |