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
To: cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Jehan <nahor@bravobrava.com>
Newsgroups: gmane.os.cygwin
Subject: Re: Permission denied on a windows share
Date: Mon, 15 Jul 2002 09:14:50 -0700
Lines: 16
Message-ID: <3D32F4FA.3020802@bravobrava.com>
References: <5.1.0.14.2.20020713194509.02bb9210@pop3.cris.com> <5.1.0.14.2.20020713204337.02acf938@pop3.cris.com> <5.1.0.14.2.20020713220237.02acf568@pop3.cris.com> <5.1.0.14.2.20020714200721.02c7b328@pop3.cris.com> <08e601c22baf$f31ed330$2300a8c0@LAPTOP>
NNTP-Posting-Host: adsl-64-168-83-170.dsl.snfc21.pacbell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: main.gmane.org 1026749690 16301 64.168.83.170 (15 Jul 2002 16:14:50 GMT)
X-Complaints-To: usenet@main.gmane.org
NNTP-Posting-Date: Mon, 15 Jul 2002 16:14:50 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1a+) Gecko/20020708
X-Accept-Language: en-us, en

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?

	Jehan




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

