diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-09-11 08:32:40 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-09-11 08:32:40 +0000 |
commit | 65ac20efeed936d73eb684a6890c0850e881585c (patch) | |
tree | 747015fe95950a8bf64dc14769aca5d5452590e0 /TODO | |
parent | b109c986c6fca6bfdfe049e10a7b253cb1468895 (diff) | |
download | busybox-w32-65ac20efeed936d73eb684a6890c0850e881585c.tar.gz busybox-w32-65ac20efeed936d73eb684a6890c0850e881585c.tar.bz2 busybox-w32-65ac20efeed936d73eb684a6890c0850e881585c.zip |
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).
git-svn-id: svn://busybox.net/trunk/busybox@7463 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions