Snapshot cygwin-inst-20080327 regression in ls (permissions?)
Corinna Vinschen
corinna-cygwin@cygwin.com
Wed Apr 2 08:57:00 GMT 2008
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.
<excursion>
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.
</excursion>
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/
More information about the Cygwin
mailing list