delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/30/04:14:59

X-Spam-Check-By: sourceware.org
Date: Thu, 30 Nov 2006 10:14:44 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
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
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
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

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/

- Raw text -


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