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

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.4 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4CA0803E.7070909@mwg.dp.ua>
Date: Mon, 27 Sep 2010 14:30:06 +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: //UNC/ paths problem
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

Hi,

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. I noticed this first with Cygwin DLL 
v.1.7.7, then reverted it to 1.7.6 but this did not help. Earlier 
versions I did not test. But if I remember right, it worked before.

How to reproduce :

1. open \\remotehost in Windows explorer, enter login/password to this 
host, then open some share and see its contents.

2. open Cygwin shell session in usual way, without Admin rights.
Do cd //remotehost/share ; ls //remotehost/share ; ... etc
See everything works fine

3. run Cygwin shell session as Administrator (so that you have group 
544-Administrators in your group list printed by 'id'). Do cd/ls to the 
same network path. See you have errors like 'Not a directory', etc. And 
when you run 'stat' on the same path, it says 'regular empty file'

Thank you in advance for your help.
Please freely ask me for more details required.
I am very interested to know if I can fix this by myself,
or this is a task for Cygwin developers.

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