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: Paul Eggert
Subject: Re: [Bug-tar] [PATCH] add --ignore-missing to ignore missing input files
Date: Thu, 19 Apr 2012 16:27:42 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120329 Thunderbird/11.0.1

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
write access to the file system could cause the combination
to archive the "wrong" file, for example.



reply via email to

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