X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
From: jensen@adobe.com (Freddy Jensen)
Message-Id: <080806115339.ZM5290@adobe.com>
Date: Wed, 6 Aug 2008 11:53:39 -0700
In-Reply-To: Freddy Jensen <jensen@adobe.com>         "Windows CIFS share "ls: reading directory .: permission denied"" (Aug  5, 12:54pm)
References: <080805125430.ZM3414@adobe.com>
Reply-To: <jensen@adobe.com>
X-No-Archive: yes
X-Mailer: Z-Mail (5.0.1 04Feb2000)
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: Windows CIFS share "ls: reading directory .: permission denied"
Cc: jensen@adobe.com
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com



After much experimentation, I had to give up on making
it work directly with the share on the server.

Instead I tried to run Samba on a SparcSolaris 9 machine
and then go through the Samba connection for all access
to the server. 

This method works, but it is slower than going directly
to the server.

I really wish someone on the cygwin development team
could spare a few cycles to look into this problem.

Perhaps it doesn't affect very many people, because
I haven't seen a whole lot of reports about this
problem.

Any further insight will be appreciated.

Thanks

Freddy


========== Begin included message ==========

>From: Freddy Jensen <jensen@adobe.com>
>Date: Tue Aug 5 2008 12:54pm
>To:   "cygwin@cygwin.com" <cygwin@cygwin.com>
>Cc:   Freddy Jensen <jensen@adobe.com>
>Subj: Windows CIFS share "ls: reading directory .: permission denied"


Around June 2008, there were some posting with the subject:

Windows CIFS share "ls: reading directory .: permission denied"

but I don't know if there was a resolution to the problem.

I am now running into the exact same problem, after I upgraded
to the latest cygwin version. The problem is that the "ls"
command isn't able to enumerate directories if they reside on
a CIFS share on a server. If I know the name of a file on the
remote share, then I can access it, but ls cannot enumerate
the directory. The shell, neither bsh nor csh, cannot do it
either because if I cd to the share and do 'echo *' then it
just prints *.

The cmd "dir" command can enumerate the remote directory.

This leads me to suspect that in a recent release of cygwin,
the ls command got broken, or some library that supports ls
got broken. This used to work fine before I upgraded.

Has anyone else run into this problem?

Help and advise will be greatly appreciated.

Thanks

--
Freddy Jensen, Sr. Computer Scientist, Adobe Systems Incorporated
345 Park Avenue, San Jose, CA 95110-2704, USA, Ph: (408) 536-2869
Email: jensen@adobe.com, URL: http://www.adobe.com
--

========== End included message ==========


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

