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 To: cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ Path: not-for-mail From: Jehan 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 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020713194509 DOT 02bb9210 AT pop3 DOT cris DOT com> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020713204337 DOT 02acf938 AT pop3 DOT cris DOT com> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020713220237 DOT 02acf568 AT pop3 DOT cris DOT com> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020714200721 DOT 02c7b328 AT pop3 DOT cris DOT com> <08e601c22baf$f31ed330$2300a8c0 AT 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 AT main DOT gmane DOT 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/