X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 12 May 2011 23:40:44 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: CMD.EXE able to create files in directories on a shared drive, but bash in cygwin is unable to Message-ID: <20110512214044.GL3020@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20110512190604 DOT GH3020 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On May 12 15:17, Keith Christian wrote: > Corinna, the bash.trace output is attached. Thank you for checking > into this problem. But I can't really help. The problem is that the Windows call to open tjhe file simply fails: 39 146109 [main] bash 2020 fhandler_base::open: C0000022 = NtCreateFile (0x0 , 40160080, \??\Z:\.cpan\build\foo2, io, NULL, 80, 7, 5, 4020, NULL, 0) The return value C0000022 is STATUS_ACCESS_DENIED which is equivalent to the Windows error 5, ERROR_ACCESS_DENIED. The requested access bits are: GENERIC_WRITE | SYNCHRONIZE | WRITE_DAC | READ_CONTROL | FILE_READ_ATTRIBUTES Maybe your server settings don't like the WRITE_DAC part? As I said, I tried it with identical directory permissions and share permissions "Change" for everyone, the server was XP SP3. What server machine are you running and what are the share settings of that share? Is your account a normal user account or an admin account? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple