delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/05/12/17:41:24

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 <corinna-cygwin AT cygwin DOT com>
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: <BANLkTimsOOZvBAeXgJczJg8KzD9qy1GsLg AT mail DOT gmail DOT com> <20110512190604 DOT GH3020 AT calimero DOT vinschen DOT de> <BANLkTinaGtesoVBW-jbse-JYSCTasrTfCw AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <BANLkTinaGtesoVBW-jbse-JYSCTasrTfCw@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019