//UNC/ paths problem

Wladimir Mutel mwg@mwg.dp.ua
Mon Sep 27 13:05:00 GMT 2010


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



More information about the Cygwin mailing list