[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] [PATCH] Option to treat tarbombs as errors
From: |
Joshua Hudson |
Subject: |
Re: [Bug-tar] [PATCH] Option to treat tarbombs as errors |
Date: |
Wed, 27 Nov 2013 16:25:57 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 |
It is my opinion this patch is incorrect in design.
If I were to arrange for the first file to be .bashrc, you would get the error,
but the damage would already be done.
What would be immediately beneficial is a patch that provides option if given
tar -xf filename.tar*, ensuring
that all paths begin with filename/, and prepending filename/ if they don't. Do
mkdir filename first for the obvious reason.