X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 2 Apr 2008 10:56:43 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Snapshot cygwin-inst-20080327 regression in ls (permissions?) Message-ID: <20080402085643.GY4468@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <23fce8e60804011504q66d092aagf8411e13023b15fe AT mail DOT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <23fce8e60804011504q66d092aagf8411e13023b15fe@mail.gmail.com> User-Agent: Mutt/1.5.16 (2007-06-09) 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 Apr 1 23:04, James Abley wrote: > Hi, > > I was testing this snapshot as part of my exploration into how long > path name support is coming on, specifically for rsync. It seems to be > going very well; thanks for all the improvements. I did notice a > couple of things: > > $ ls -l ~ > ls: cannot access /cygdrive/c/Users/jabley/Application Data: Input/Output error > ls: cannot access /cygdrive/c/Users/jabley/Cookies: Input/Output error > ls: cannot access /cygdrive/c/Users/jabley/Local Settings: Input/Output error > ls: cannot access /cygdrive/c/Users/jabley/My Documents: Input/Output error > ls: cannot access /cygdrive/c/Users/jabley/NetHood: Input/Output error > ls: cannot access /cygdrive/c/Users/jabley/PrintHood: Input/Output error > ls: cannot access /cygdrive/c/Users/jabley/Recent: Input/Output error > ls: cannot access /cygdrive/c/Users/jabley/SendTo: Input/Output error > ls: cannot access /cygdrive/c/Users/jabley/Start Menu: Input/Output error > ls: cannot access /cygdrive/c/Users/jabley/Templates: Input/Output error > total 23969 > drwx------+ 5 jabley Domain Users 0 Apr 12 2007 AppData > ??????????? ? ? ? ? ? > Application Data > drwx------+ 2 jabley Domain Users 0 Apr 12 2007 Contacts > ??????????? ? ? ? ? ? Cookies > drwxr-xr-x+ 6 jabley Domain Users 0 Feb 18 22:03 Data > drwx------+ 2 jabley Domain Users 8192 Feb 18 11:28 Desktop > ... > > I'm not sure what's changed so that I can no longer list the > directories. I'm afraid I can't reproduce this problem. I have tried on three test machines running Vista, Vista x64 and 2008 Server. On all three machines I can list all of the above names just fine. The above mentioned names are the old directory names used before Vista. These names have changed, for instance, "Application Data" is now called "AppData". The old names still exist though, as directory junction points with SYSTEM and HIDDEN bits set(*). You just can't access them from Windows Explorer, you only get an "Access denied" error. (*) So they are marked as operating system files which you only see if you made a specific setting in Explorer. So far, including the most recent snapshot, Cygwin does not recognize directory junction points as symlinks, but only as directores. This has a minor drawback. I'm not sure yet if I should change this to recognizing directory juntion points as symlinks or not... Anyway, back to your problem. As I said, I can't reproduce your above problem on any of my Vista/2K8 machines. It's probably not exactly Cygwin-specific. But I'm curious nevertheless. Would you mind to run this command: $ strace -o cookies.strace ls -l /cygdrive/c/Users/jabley/Cookies and send the output of the cookies.strace file to this list? 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/