quilt-dev
[Top][All Lists]
Advanced

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

Re: [Quilt-dev] [PATCH] Sane permissions: no more mode 000 files


From: Jean Delvare
Subject: Re: [Quilt-dev] [PATCH] Sane permissions: no more mode 000 files
Date: Sat, 3 Jun 2006 21:12:11 +0200

Hi Andreas, Markus,

> On Friday, 2. June 2006 00:28, Markus F.X.J. Oberhumer wrote:
> > Several months ago I got burned _badly_ by those mode 000 files in the .pc
> > directory, causing severe problems with a source tree after unnoticed
> > failures from a preceding cp/tar.
> >
> > This patch is in use at our local systems for quite some time. Please
> > review and apply if you find it useful.
> 
> Please try to get this fixed in GNU patch upstream if you care enough, then 
> we 
> can also change quilt. I agree that mode 0 is stupid, but it's something we 
> have to live with.
> 
> Note that the diff (-z) and pop commands have workarounds for this problem as 
> well; grep for "zero-size".
> 
> The problem you had with your backup scripts are/were a bug in those scripts; 
> they should cope with this situation.

These are also bugs in tar and cp themselves. There is no reason why a
program would need to open a zero-sized file to copy it, so no reason
for a failure in the first place.

-- 
Jean Delvare




reply via email to

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