tar bugfix patch n.347 (recoded, version 6)

Roberto A. Foglietta me at roberto.foglietta.name
Fri Dec 23 18:44:12 UTC 2005


Roberto A. Foglietta ha scritto:

> 
> I did not test it extensively yet, because I am waiting your response.
> If it is good for you I will test it before adding in in bug-system.
> 

  I put on bug-system but with notice: NOT ESTENSIVELY TESTED YET


  Probably this has to be submitted as another bug, anyway bunzip2 set 
permission in wrong way because it does not make stat on the src file.

/tmp # dd if=/bin/busybox >testfile bs=1k count=100; ls -al testfile
100+0 records in
100+0 records out
-rw-r--r-- 1 0 0 102400 Dec 23 18:02 testfile
/tmp # chmod go-r testfile*; ls -al testfile*
-rw------- 1 0 0 102400 Dec 23 18:02 testfile
/tmp # bzip2 testfile; ls -al testfile*
-rw------- 1 0 0 59700 Dec 23 18:02 testfile.bz2
/tmp # bunzip2 testfile.bz2; ls -al testfile*
-rwxr-xr-x 1 0 0 102400 Dec 23 18:03 testfile
/tmp # umask
0022

patch n.6 fix this behaviour too, and some bb_error* in bb_perror*:

/tmp # bzip2 testfile
/tmp # bunzip2 testfile.bz2
/tmp # ls -al testfile*
-rw-r--r-- 1 0 0 102400 Dec 23 18:21 testfile


  Cheers,
-- 
Roberto A. Foglietta
http://www.roberto.foglietta.name
SkypeNick: robang74
ICQ#: 108718257
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-1.01_raf_6.tar.gz
Type: application/gzip
Size: 5394 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20051223/0abef351/attachment.bin 


More information about the busybox mailing list