delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/16/06:25:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: "Robert Collins" <robert DOT collins AT syncretize DOT net>
To: "'Jehan'" <nahor AT bravobrava DOT com>, <cygwin AT cygwin DOT com>
Subject: RE: Permission denied on a windows share
Date: Tue, 16 Jul 2002 20:25:38 +1000
Message-ID: <000001c22cb3$21a6e8b0$0200a8c0@lifelesswks>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
In-Reply-To: <3D32F4FA.3020802@bravobrava.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000


> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com 
> [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Jehan
> Sent: Tuesday, 16 July 2002 2:15 AM
> To: cygwin AT cygwin DOT com
> Subject: Re: Permission denied on a windows share
> 
> 
> Robert Collins wrote:
> > IIRC cygwin reports based on the NTFS permission, but 
> actually tries before
> > failing... but I suspect it's not consistent across the 
> board on this.
> 
> ah..., I'm not sure I get it there. Are you saying that if NTFS says 
> that one doesn't have access to a file, then cygwin will still try to 
> access it and then return failure if the attempt didn't succeed? Am I 
> understanding correctly?
> If so, then why does cygwin fails on the attempt when Notepad succeed?

> Or maybe you mean that most of the time there is an attempt, but for 
> whatever reason, the "open(.., O_WRONLY)", or whatever "cp" and "cat" 
> are using, doesn't try?

I'm really saying you need to check the code. OR the strace log, or
both.

Rob


--
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/

- Raw text -


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