delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/27/07:55:47

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 <mwg AT mwg DOT dp DOT ua>
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>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019