cannot create <file>: permission denied

Reini Urban rurban@x-ray.at
Wed Aug 13 10:54:00 GMT 2003


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/



More information about the Cygwin mailing list