X-Spam-Check-By: sourceware.org Date: Thu, 30 Nov 2006 10:14:44 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Cygwin > 1.5.18-1 fails on network and removable drives Message-ID: <20061130091444.GB25001@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <000901c7141a$0440a880$0b00000a AT Wampum> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000901c7141a$0440a880$0b00000a@Wampum> User-Agent: Mutt/1.4.2.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Nov 30 00:53, Ken Turner wrote: > Thanks for the suggestion about running strace. My home directory is accessed as > a Windows share (drive H:) via SMB from a Unix server (TAS). Here is a typical > sequence using the latest version of all Cygwin components: > > kjt:/c cd /h > > kjt:/h echo $CYGWIN > ntsec nosmbntsec > > kjt:/h ls > ls: reading directory .: Permission denied > > The full strace for this is below. The only indication I can see that something > is wrong is in the following lines: > > 40 49809 [main] ls 780 path_conv::check: this->path(C:\), has_acls(1) > 145 49954 [main] ls 780 fhandler_disk_file::readdir: 0 = readdir (0x6748B8, > 0x22C6D4) (..) > 628 50582 [main] ls 780 geterrno_from_win_error: windows error 5 == errno 13 > 47 50629 [main] ls 780 fhandler_disk_file::readdir: 13 = readdir (0x6748B8, > 0x22C6D4) (***) > 38 50667 [main] ls 780 __set_errno: dirent* readdir(DIR*):160 val 13 > > As noted before, Cygwin up to and including 1.5.18-1 work fine, but later > versions fail on network drives. Does the strace output give any hint what's > wrong? Thanks! Unfortunately this doesn't help. It just shows that there's an access denied error. It doesn't explain why you get it. Sorry. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/