Corinna Vinschen wrote:

We have 2 separate Win2k8 R2 x64 server systems (without domain, and
both regularly updated from Windows Update). On each of these
systems, we have some file shares which we access from other system.
I noticed that when I start Cygwin shell session with Administrator
rights, I can't access UNC paths anymore.

This is not a Cygwin problem.  This is how Windows UAC works by default.
There's a registry key which you can set to override the behaviour:
http://technet.microsoft.com/en-us/library/ee844140%28WS.10%29.aspx

        Thank you a lot ! Probably Cygwin should return some other
        errno (like EACCESS) to the calling application, not just fill
        'stat' structure in a meaningless way. Windows says
        'Logon failure: unknown user name or bad password' when I try
        to 'dir' non-mapped network share from the Admin's command line.

        Anyway, thank you a lot for explaining what I have stumbled
        upon .

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

Reply via email to