1e5899ea8b
In particular, this fixes the oddity that -dumpl would apply umask to copied dirs (which are created in the target tree) but not to "copied" files (which are only linked). After this change: $ ls -ld a a/b a/b/c d--x-w-r-- 3 tim tim 512 Jul 29 20:08 a drwxr----x 3 tim tim 512 Jul 29 20:09 a/b dr----x-w- 2 tim tim 512 Jul 29 20:09 a/b/c $ (echo a; echo a/b; echo a/b/c) | cpio -dumpl o $ cd o $ ls -ld a a/b a/b/c d--x-w-r-- 3 tim tim 512 Jul 29 20:08 a drwxr----x 3 tim tim 512 Jul 29 20:09 a/b dr----x-w- 2 tim tim 512 Jul 29 20:09 a/b/c |
||
---|---|---|
.. | ||
test | ||
bsdcpio.1 | ||
cmdline.c | ||
config_freebsd.h | ||
cpio_platform.h | ||
cpio.c | ||
cpio.h | ||
err.c | ||
Makefile | ||
matching.c | ||
matching.h | ||
pathmatch.c | ||
pathmatch.h |