delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/18/05:12:04

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.1 required=5.0 tests=BAYES_50,FREEMAIL_FROM,SPF_HELO_PASS,TW_LR,TW_RW,TW_WX,TW_XR,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
connect(): No such file or directory
From: Mario =?iso-8859-1?q?K=FCchler?= <mkue AT gmx DOT net>
Subject: Cygwin 1.7: Accessing (local) junctions via SMB
Date: Tue, 18 May 2010 09:11:40 +0000 (UTC)
Lines: 39
Message-ID: <hstlkc$5nc$1@dough.gmane.org>
Mime-Version: 1.0
User-Agent: XPN/1.2.6 (Street Spirit ; Windows)
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,

there seems to be a change from 1.5 to 1.7 when processing junctions
(reparse points). This was already discussed here but I want to point to
an issue when accessing them via SMB.

Both hosts have a local junction from d:\temp to c:\temp.

SMB connection goes from host1 to host2 (identical account, using
admin shared like c$, d$)


Results on 1.5:

user AT host1 ~
$ ls -la //host2/d\$/temp

=> shows the content of c:\temp on host_2_ (as expected)


Results on 1.7:
user AT host1 ~
$ ls -l //host2/d\$/temp
lrwxrwxrwx (...) //host2/d$/temp -> /cygdrive/c/temp

=> resolves the local junction of host_2_ but translates it to the
local junction of host_1_, losing the UNC part ("//host2/").


Shouldn't this be parsed to //host2/c\$/temp as with Cygwin 1.5?


Regards,
	Mario

PS:
$ uname -a CYGWIN_NT-6.0-WOW64 host1 1.7.5(0.225/5/3)
2010-04-12 19:07 i686 Cygwin



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