Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: =?iso-8859-1?Q?Dominik_J=E4nicke?= To: Subject: fork inherited lock of open files (XP) Date: Fri, 11 Oct 2002 10:02:17 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Importance: Normal Hello, under WinXP fork() inherited lock of open files. Following Scenario: WinPrg1 open file with lock and exec the bash. The Bash start "cmd /c start WinPrg2" and exits without wait for WinPrg2. WinPrg1 close its files. All files opend by WinProg1 locked (access --> permission denied) until WinProg2 ends. Is this a bug in fork() ? The same Scenario works with WinNt, e.g. access is possible. cygwin rel-1.3.12-2 MfG Dominik Jaenicke -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/