hush/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
..
2003-09-11 08:32:40 +00:00
2003-03-19 09:13:01 +00:00
2003-03-19 09:13:01 +00:00
2003-08-22 21:15:07 +00:00
2003-08-28 19:12:23 +00:00
2003-03-19 09:13:01 +00:00
2003-03-19 09:13:01 +00:00
2003-03-19 09:13:01 +00:00
2003-03-19 09:13:01 +00:00
2003-03-19 09:13:01 +00:00