generic-build-script

Brian Dessent brian@dessent.net
Tue Mar 4 23:02:00 GMT 2008


Gergely Budai wrote:

> mv: cannot move `p7zip-4.57' to `../p7zip-4.57-orig': Permission denied

This is probably caused by a handle remaining open for some short period
of time after tar has completed writing the files, such that mv starts
before it closes.  On a normal system, I don't think this should ever be
the case, i.e. handles should be closed by the time tar terminates. 
Sometimes if you have on-demand virus scanning however, those hooks
cause the file to remain open for a short period after tar has written
them.  I've also seen this with on-demand/real-time disk defragmentation
(in my case, Diskeeper v11 I believe) software, which I had to disable. 
The fact that it is transient definitely indicates that it's a race, but
I wouldn't go pinning it on dual core; although that may exacerbate it.

Brian



More information about the Cygwin-apps mailing list