delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/12/06/19:46:40

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0D0F03858D28
Authentication-Results: sourceware.org;
dmarc=fail (p=none dis=none) header.from=nifty.ne.jp
Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 1B70k3mU031992
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp;
s=dec2015msa; t=1638837963;
bh=/YXrMsFVZDb0FB42Tcn831sy/TxyYKbouZTDdG2Gfw0=;
h=Date:From:To:Subject:In-Reply-To:References:From;
b=mLuX9DAr/ykDtUl8oH+etkU7zzI0fTqUC2Nsyl8yWEMfHEBCvtfl6I69hsbEh/wpx
NQ8y/hXFKCp1qsC/wIQnwUsSXMMnXCn15QFCHrqHEy2sHfdgWnEFtpWzknvJ7ZRQGn
1TalTrlFcJ+GJ4FRv1caZlP5XLcuYsQgXJ3N0zgwf5IwDy4zgoZ7WwoKUia5rm0dRB
H2E4lsjznmkcRMc4QkK/dqdwIlWw3GSt50PLBE/m3DUc5VqbgK74zfEGveOK8L44Qg
odDI0FY2A/3YMB0D60oB1ixvAYI/XPJz7kW3pxJmRWIQTsKSFRKL/YVVJ1YwmyXRRO
CIWigvc0Qs/eg==
X-Nifty-SrcIP: [110.4.221.123]
Date: Tue, 7 Dec 2021 09:46:12 +0900
From: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
To: cygwin AT cygwin DOT com
Subject: Re: vboxsharedfs - Too many levels of symbolic links
Message-Id: <20211207094612.313345b38eac94bae85448b4@nifty.ne.jp>
In-Reply-To: <20211206195527.9b9c09b549fa8fcc2512949e@nifty.ne.jp>
References: <d6470ffe-8e49-3eb7-4d21-3212e0ad4f31 AT oskog97 DOT com>
<20211205115411 DOT 1619911cb3e2d23f671912ce AT nifty DOT ne DOT jp>
<Ya3i/sfWB2avaJ9F AT calimero DOT vinschen DOT de>
<20211206195527 DOT 9b9c09b549fa8fcc2512949e AT nifty DOT ne DOT jp>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On Mon, 6 Dec 2021 19:55:27 +0900
Takashi Yano wrote:
> First, I think the same. However, with this patch, it sometimes causes
> hang for a few seconds around the code:
[...]
> with path_copy of "//VBoxSrv". I am not sure why.
> 
> In addition,
> https://cygwin.com/pipermail/cygwin/2021-December/250103.html
> still needs fix.

Moreover, this has a problem with "ls -al /cygdrive/z".
The information for ".." is not retrieved correctly.

drwxr-xr-x 1 yano None       0 Dec  6 13:54 .
d????????? ? ?    ?          ?            ? ..
-rw-r--r-- 1 yano None      29 Dec  4 07:45 Makefile
-rw-r--r-- 1 yano None      17 Dec  6 13:18 a
drwxr-xr-x 1 yano None       0 Dec  6 08:59 aaa
lrwxrwxrwx 1 yano None       1 Dec  6 13:54 b -> a
-rwxr-xr-x 1 yano None 3278626 Dec  7 09:07 cygwin0.dll
-rwxr-xr-x 1 yano None 3549860 Dec  6 08:51 cygwin0.dll.64
-rw-r--r-- 1 yano None       0 Dec  3 22:16 testfile.txt

I think '/cygdrive/z/..' should be '/cygdrive', however,
in current cygwin, it is interpreted into '//VBoxSrv'.

Is this as you intended?

With my patch which stops to treat UNC path as symlink,
'/cygdrive/z/..' returns '/cygdrive'.

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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