]> Dogcows Code - chaz/tar/commit
* NEWS: Fix some race conditions with tar -x --same-owner.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Dec 2006 21:35:56 +0000 (21:35 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Dec 2006 21:35:56 +0000 (21:35 +0000)
commit908d78d2082f605318be6b6a774676e3319cf650
tree333257aaee5fbac1b1b8f23fe11ab85071d92808
parent192f55e2a027c025e034f65215d2dbf3723429a0
* NEWS: Fix some race conditions with tar -x --same-owner.
* src/extract.c (ARCHIVED_PERMSTATS): Add a comment saying that
S_IRWXG | S_IRWXO might be masked out.
(set_mode): Set the mode if some bits were masked out originally.
(set_stat): Don't chmod before chown, as that might temporarily
grant permissions that we don't want to grant.  The chmod was
there only to work around broken hosts, so add a comment advising
users not to use those broken hosts instead.
(repair_delayed_set_stat, extract_dir):
Remember to mask out current umask before inverting permissions.
(extract_dir): If the owner might change, or if the mode has
special bits, create the directory 700 at first, but restore it later.
(open_output_file): New arg mode; all uses changed.
(extract_file, extract_node, extract_fifo): If the owner might
change, omit group and other bits at first, but restore them after
changing the owner.
ChangeLog
NEWS
src/extract.c
This page took 0.020472 seconds and 4 git commands to generate.