[Toybox] [PATCH] cpio: Use chown pathname versiong

Vincent Donnefort vdonnefort at google.com
Mon Mar 13 01:54:45 PDT 2023


On Sat, Mar 11, 2023 at 01:55:12PM -0600, Rob Landley wrote:
> On 3/10/23 14:59, Rob Landley wrote:
> >>> That said there's more options: the reason eject.c has open(O_NONBLOCK) is so it
> >>> doesn't try to spin up the CD in the drive before the open returns, and in
> >>> theory I could do similar kinds of tricks here... but not without a test case to
> >>> see what specifically I'm trying to fix.
> >> 
> >> You should be able to reproduce the issue quite easily with `mknod c 1 3` in a
> >> cpio archive and to extract it on a mount point with nodev.
> > 
> > but rereading this you meant "with nodev" is your
> > reproduction sequence, got it. (The fact you can mknod on a nodev mount seems
> > kind of strange, but...)
> 
> Didn't send the email ruminating about the design issues I worked through for
> commit 4e68a9268c3b, so for posterity:

Thanks for the quick fix!

-- 
Vincent.

[...]


More information about the Toybox mailing list