From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from conssluserg-05.nifty.com (conssluserg-05.nifty.com [210.131.2.90]) by sourceware.org (Postfix) with ESMTPS id 0D0F03858D28 for ; Tue, 7 Dec 2021 00:46:17 +0000 (GMT) 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 Received: from Express5800-S70 (z221123.dynamic.ppp.asahi-net.or.jp [110.4.221.123]) (authenticated) by conssluserg-05.nifty.com with ESMTP id 1B70k3mU031992 for ; Tue, 7 Dec 2021 09:46:03 +0900 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 To: cygwin@cygwin.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: <20211205115411.1619911cb3e2d23f671912ce@nifty.ne.jp> <20211206195527.9b9c09b549fa8fcc2512949e@nifty.ne.jp> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2021 00:46:22 -0000 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