bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] [PATCH] add --ignore-missing to ignore missing input files


From: Joerg Schilling
Subject: Re: [Bug-tar] [PATCH] add --ignore-missing to ignore missing input files
Date: Fri, 20 Apr 2012 15:51:10 +0200
User-agent: nail 11.22 3/20/05

Paul Eggert <address@hidden> wrote:

> On 04/19/2012 08:05 AM, Stefan Tomanek wrote:
> > +  if (ignore_failed_read_option || (errno == ENOENT && 
> > ignore_missing_option))
>
> Why just ENOENT?  Can't similar race conditions also
> generate errno values like ELOOP, EACCESS, ENOTDIR?
>
> More generally, why use find + tar?  The combination
> seems inherently unsafe.  An attacker with

This is why find(1) is in star(1) via libfind.

Jörg

-- 
 EMail:address@hidden (home) Jörg Schilling D-13353 Berlin
       address@hidden                (uni)  
       address@hidden (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



reply via email to

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