This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Permission denied on a windows share



> -----Original Message-----
> From: cygwin-owner@cygwin.com 
> [mailto:cygwin-owner@cygwin.com] On Behalf Of Jehan
> Sent: Tuesday, 16 July 2002 2:15 AM
> To: cygwin@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]