mirror of
https://github.com/opnsense/src.git
synced 2026-04-01 07:25:10 -04:00
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.c | ||
| cpio.h | ||
| cpio_platform.h | ||
| err.c | ||
| Makefile | ||
| matching.c | ||
| matching.h | ||
| pathmatch.c | ||
| pathmatch.h | ||