Add a New Comment (Rich Markup)
Sorry, I just saw this. I tested with today's HEAD (02402920f871a42099cb5af535815a27ccd3ed0f) and I was not able to reproduce the bug. The same test case was able to reproduce using an old version of tar. So I believe this is fixed ! Thanks you very much for this.
I believe it is fixed. Please, test.
Hello, Is there anything I can do to speed up the resolution of this bug ? Thank you !
Thank you ! Git blame already pointed me to the commit you reference, but I wasn't sure why the extra check had been introduced as well. Let me know if I can help in any way.
Hello, Thanks for reporting. The rationale for this change is explained here: http://git.savannah.gnu.org/cgit/tar.git/commit/?id=9447e799ab5faa6e8be43de4000e1061e0879242 However, I agree that the extra check for *interdir_made in line 832 is not strictly necessary and should be removed.
Hello, I'm not sure it is an appropriate usage, but I use GNU tar to extract several tar archives containing different files in the same directory tree. I sometime encounter an error when two different tar processes launched in parallel try to create the intermediate directories at the same time. What happens: - process 1 tries to create file dir1/file1, receives ENOENT because dir1 doesn't exist - process 2 tries to create file dir1/file2, with the same result - process 1 uses make_directories to create dir1, the call succeed, it returns a 0 status and set the interdir_made flag - process 2 also uses make_directories to create dir1, everything is fine and it returns a 0 but doesn't set the interdir_made flag as process 1 already created the hierarchy - process 1 can extract the file dir1/file1 - process 2 ends up in RECOVERY_NO state, and exits with a fatal error. Why does it check the interdir_made flag ? If the make_directories function returns a status of zero, that mean the directory exists after all and maybe we should try to recover from that ?
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Only logged-in users can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 4 latest changes.
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.11