This is the mail archive of the cygwin@cygwin.com 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: cannot create <file>: permission denied


Santhosh K schrieb:
The same file is being opened and appended by other process also but not =
simultaneously. This problem usually occurs after the size of file is =
more than 20 Kb.
Eg :

while(1)
{
    echo "
        " >> file
    FileAppend
}

Here FileAppend is an executable which opens the same file in append =
mode writes some data and closes the file.

typical windows io problem: insert a usleep(100) (glibc) into FileAppend or wait until it's ready again.

Cygwin version : 20
OS : Windows 2000
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/


-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


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