Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <3F39E6B5.9020605@x-ray.at>
Date: Wed, 13 Aug 2003 09:20:21 +0200
From: Reini Urban <rurban@x-ray.at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.4a) Gecko/20030315
X-Accept-Language: de-at, de, en-us, en
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: cannot create <file>: permission denied
References: <20030811180612.GB1136@tishler.net> <20030811190539.GO3101@cygbert.vinschen.de> <20030811200134.GA1392@tishler.net> <20030811205002.GT3101@cygbert.vinschen.de> <20030812111203.GA2316@tishler.net> <001101c360c8$8868c880$2c01a8c0@synergyinfotech.com>
In-Reply-To: <001101c360c8$8868c880$2c01a8c0@synergyinfotech.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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/

