From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by sourceware.org (Postfix) with ESMTPS id 7376D3858D28 for ; Mon, 6 Dec 2021 06:35:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7376D3858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=oskog97.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=oskog97.com Received: (Authenticated sender: novia@oskog97.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id E4CF5E0008 for ; Mon, 6 Dec 2021 06:34:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oskog97.com; s=gm1; t=1638772500; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UAVJ/tSIp8QHvzjkKRv1Aky/AAQmI/k+zxpWT/kaWqI=; b=fesRWlGSWW6cWzPIsEuGk+VhrlK1dI7uFqmn1Milxxp8IDIczolGvUFZ7lV/EKQENntuHI l/VJVPp4A5wMeZDznqajOIgiwQCnZ/dZzMSvG3V04xOry2YjupPsg+WfFnHjosFgekzah7 fJJNWj6sMYRlRLXOTla8PKlkPG7msG/q0niMw6w9dAILHDFpI5yIlwvHCvejOp/3fw5vqN 7PDqLsN31a+j9sFWlPBsMGi4FM6xzQNujtGq5qn0MOAyqQ/l5aGYcv1zkeoYDwE7TNkwoB T3SprrOdxJaDlkj+T4LPGiGTnv7ULFRVZD1DliOvNyfuxoHlZ75l+m7UNjuQXQ== Subject: Re: vboxsharedfs - Too many levels of symbolic links To: cygwin@cygwin.com References: <20211205115411.1619911cb3e2d23f671912ce@nifty.ne.jp> <36be1c59-efd1-5cfb-93c1-baf629a897dc@oskog97.com> <20211206123135.19fce6f5d2e186ab51bd53b8@nifty.ne.jp> From: Oskar Skog Message-ID: <4d53b64a-5735-7913-6dca-a070a4586a2c@oskog97.com> Date: Mon, 6 Dec 2021 08:34:58 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20211206123135.19fce6f5d2e186ab51bd53b8@nifty.ne.jp> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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: Mon, 06 Dec 2021 06:35:04 -0000 On 2021-12-06 05:31, Takashi Yano wrote: > On Sun, 5 Dec 2021 16:49:13 +0200 > Oskar Skog wrote: >> But if I create a symlink on that filesystem, it's not identified as a >> symlink. Although, I don't know if this has ever worked as it is the >> first time I've ever tested it, it probably hasn't ever worked (see >> below). >> >> user@DESKTOP-******* /cygdrive/z$ ln -s report.pdf test.pdf >> user@DESKTOP-******* /cygdrive/z$ ls -l report.pdf test.pdf >> -rw-r--r-- 1 user None 1454562 Nov 28 12:05 report.pdf >> -rw-r--r-- 1 user None 34 Dec 5 16:36 test.pdf >> user@DESKTOP-******* /cygdrive/z$ cat test.pdf >> !▒▒report.pdfuser@DESKTOP-******* /cygdrive/z$ >> >> I think it's because "special" attributes don't work on VirtualBox >> shared folders, I can't hide files in Explorer either. >> >> So I don't think the patch has caused any regression here. > > I cannot reproduce that behaviour. > > yano@DESKTOP-LSNFFD0 /cygdrive/z > $ echo AAAAAAAAAAAA > a > > yano@DESKTOP-LSNFFD0 /cygdrive/z > $ ln -s a b > > yano@DESKTOP-LSNFFD0 /cygdrive/z > $ ls -l b > lrwxrwxrwx 1 yano None 1 Dec 6 12:17 b -> a > > yano@DESKTOP-LSNFFD0 /cygdrive/z > $ cat b > AAAAAAAAAAAA > > yano@DESKTOP-LSNFFD0 /cygdrive/z > $ mount > C:/cygwin/bin on /usr/bin type ntfs (binary,auto) > C:/cygwin/lib on /usr/lib type ntfs (binary,auto) > C:/cygwin on / type ntfs (binary,auto) > C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto) > D: on /cygdrive/d type iso9660 (binary,posix=0,user,noumount,auto) > Z: on /cygdrive/z type vboxsharedfolderfs (binary,posix=0,user,noumount,auto) > > > Are you running VirtualBox in non-windows host by any chance? > cygwin symbolic link seems to work only in NTFS file system. > > If shared folder is in linux file system, cygwin symbolic link > does not work. > Yes, I'm on a Linux host.