bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] [PATCH] Intelligent subdirectory creation to guard against


From: Paul Eggert
Subject: Re: [Bug-tar] [PATCH] Intelligent subdirectory creation to guard against tarbombs
Date: Wed, 07 Aug 2013 20:13:19 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8

I don't see why this option would help much.
All it takes to corrupt is one file, right?
And I can see weaknesses in the proposed implementation:
when you rename the extracted file, you might rename
a file that already existed.

Instead, how about extending the -C option to
create the directory if it doesn't already exist
(when extracting), and suggesting to people to use that?
That'd be simpler and easier to document.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]