[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] [PATCH v2] Intelligent subdirectory creation to guard agai
From: |
Paul Eggert |
Subject: |
Re: [Bug-tar] [PATCH v2] Intelligent subdirectory creation to guard against tarbombs |
Date: |
Tue, 13 Aug 2013 20:56:53 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 |
Connor Behan wrote:
> This could be handled without adding a new option
> if -k became "don't replace existing files or create more than one file
> at the top level when extracting, treat them as errors". So -k would
> become a broader kind of "play it safe while extracting" option.
We probably can't change -k that drastically, but it would
be OK to add an option that says "allow at most one top-level
name", which could be combined with -k.