[PATCH] fix mode setting of unpacked files for unlzma/bunzip2/gunzip

Bernhard Fischer rep.nop at aon.at
Wed Apr 26 10:14:22 UTC 2006


On Wed, Apr 26, 2006 at 12:43:12PM +0300, Denis Vlasenko wrote:
>busybox unlzma busybox.tar.lzma
>
>is producing busybox.tar with mode 0777! This patch fixes it.
>
>Also fixes same bug in bunzip2 and fixes racy mode setting in gunzip.
>
>Please apply

I'll leave this for someone else to review. I see no good reason why we
shouldn't be using xstat there, fwiw.



More information about the busybox mailing list