delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/12/06/01:35:21

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 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
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 AT cygwin DOT com
References: <d6470ffe-8e49-3eb7-4d21-3212e0ad4f31 AT oskog97 DOT com>
<20211205115411 DOT 1619911cb3e2d23f671912ce AT nifty DOT ne DOT jp>
<36be1c59-efd1-5cfb-93c1-baf629a897dc AT oskog97 DOT com>
<20211206123135 DOT 19fce6f5d2e186ab51bd53b8 AT nifty DOT ne DOT jp>
From: Oskar Skog <novia AT oskog97 DOT com>
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>
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 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>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 1B66ZLvZ028171

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 AT DESKTOP-******* /cygdrive/z$ ln -s report.pdf test.pdf
>> user AT 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 AT DESKTOP-******* /cygdrive/z$ cat test.pdf
>> !<symlink>â–’â–’report DOT pdfuser AT 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 AT DESKTOP-LSNFFD0 /cygdrive/z
> $ echo AAAAAAAAAAAA > a
> 
> yano AT DESKTOP-LSNFFD0 /cygdrive/z
> $ ln -s a b
> 
> yano AT DESKTOP-LSNFFD0 /cygdrive/z
> $ ls -l b
> lrwxrwxrwx 1 yano None 1 Dec  6 12:17 b -> a
> 
> yano AT DESKTOP-LSNFFD0 /cygdrive/z
> $ cat b
> AAAAAAAAAAAA
> 
> yano AT 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.

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