1 |
On Tuesday 09 April 2013 16:30:26 Diego Elio Pettenò wrote: |
2 |
> On 09/04/2013 20:31, Mike Frysinger wrote: |
3 |
> > but things get even crazier with the new --copy-to-tree option (python |
4 |
> > version only). this is useful for scenarios like kernel initramfs where |
5 |
> > you want to copy over one or two ELFs and their dependencies w/out |
6 |
> > resorting to statically linking them. check out the --help text for |
7 |
> > more details. |
8 |
> |
9 |
> Would you mind a "hardlink to tree"? Would be lovely for chroot |
10 |
> environments as well... |
11 |
|
12 |
sure, that should be easy to add. i'll add an obligatory warning about the |
13 |
accidental modification scenario. i know some newer kernel systems (like |
14 |
yama?) have started disallowing hardlinks to files you don't own (even ones |
15 |
that aren't setuid). the resulting error is fun & obtuse too like "EPERM". |
16 |
-mike |