This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: generic-build-script


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]