busybox/archival
Eric Andersen 2fdba24620 Marc A. Lehmann writes:
The tar -x command in busybox does not restore the file mode correctly.

The reason is most probably this code in
archival/libunarachive/data_extract_all.c:

       chmod(file_header->name, file_header->mode);
       chown(file_header->name, file_header->uid, file_header->gid);

chown clears the set*id bits (on current versions of linux :). Flipping
the order around fixes the problem.

(tested with 1.00pre3 from cvs).
2003-09-11 08:32:40 +00:00
..
libunarchive Marc A. Lehmann writes: 2003-09-11 08:32:40 +00:00
ar.c Major coreutils update. 2003-03-19 09:13:01 +00:00
bunzip2.c Major coreutils update. 2003-03-19 09:13:01 +00:00
Config.in trivial doc fix 2003-08-22 21:15:07 +00:00
cpio.c Dont unlink when testing ! 2003-08-28 19:12:23 +00:00
dpkg_deb.c Major coreutils update. 2003-03-19 09:13:01 +00:00
dpkg.c Major coreutils update. 2003-03-19 09:13:01 +00:00
gunzip.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
gzip.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
Makefile Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
Makefile.in Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
rpm2cpio.c Major coreutils update. 2003-03-19 09:13:01 +00:00
rpm.c Major coreutils update. 2003-03-19 09:13:01 +00:00
tar.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
uncompress.c Save a few bytes by using bb_getopt_ulflags and a few other minor 2003-06-22 06:59:34 +00:00
unzip.c Major coreutils update. 2003-03-19 09:13:01 +00:00