This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Existence check fails on Cygwin Perl


On Tue, 17 Aug 2010 12:03:19 +0200, Corinna Vinschen wrote:
>On Aug 17 10:47, Andy Koppe wrote:
>> On 17 August 2010 10:06, Corinna Vinschen wrote:
>> > On Aug 17 10:54, Lemke, Michael ÂSZ/HZA-ZSB2 wrote:
>> >> On 17 Aug 2010 10:20:41 +0200, Corinna Vinschen wrote:
>> >> >On Aug 16 18:13, Andrew DeFaria wrote:

[perl example removed.]

>> >>
>> >> Hm, I can reproduce it and it's even simpler, no perl involved:
>> >>
>> >> pc> [ -e //server/junk ] && date
>> >> Tue Aug 17 10:28:14 WEDT 2010
>> >> pc> ls -ls //server/junk
>> >> 0 -rw-r--r-- 1 lemkemch Domain Users 0 Dec Â1 Â2006 //server/junk
>> >>
>> >> Here's no server called server.
>> >
>> > I can't reproduce, but I'm already running Cygwin 1.7.6. ÂI have a vague
>> > memory that we already had a report along these lines and that I patched
>> > this at one point... ÂI *think* that's what is successfully hidden
>> > behind the "Fix erroneous handling of devices in path checking." message
>> > in the announcement...
>> 
>> http://www.cygwin.com/ml/cygwin/2010-06/msg00049.html
>
>Oh, right, thanks.  I have to refurbish my memory, I guess.

Now that 1.7.6 has appeared at my favorite mirror I repeated the test:

pc> uname -a
CYGWIN_NT-5.1 p01080268 1.7.6(0.230/5/3) 2010-08-16 16:06 i686 Cygwin
pc> ls -ls //junk/file
ls: cannot access //junk/file: No such file or directory

Great, it's fixed.

But wait:

pc> ls -ls //server/junk
0 -rw-r--r-- 1 lemkemch Domain Users 0 Dec  1  2006 //server/junk

I was wrong above, here is a server called 'server'.  But it doesn't have
a file 'junk'.
 
Doing the equivalent from a DOS box:

U:\>dir \\server\junk
Logon failure: unknown user name or bad password.


Michael

P.S. Sorry for breaking the thread, can't do any better at the moment.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]