X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <4CA08630.9010606@mwg.dp.ua> Date: Mon, 27 Sep 2010 14:55:28 +0300 From: Wladimir Mutel User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.13) Gecko/20100914 Lightning/1.0b1 SeaMonkey/2.0.8 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: //UNC/ paths problem References: <4CA0803E DOT 7070909 AT mwg DOT dp DOT ua> <20100927114325 DOT GU6694 AT calimero DOT vinschen DOT de> In-Reply-To: <20100927114325.GU6694@calimero.vinschen.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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