X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6CF35386FC15
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1620560157;
	bh=juBw1I7wafbCrbNdR/WPegyfk0Vwn10g0OjBqGGcdio=;
	h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=F1yBovLHnE8A361JRyRvld+GspKe05WO0DT4prXA3FpoKQVnLFrbUtqGXjEhC/GW9
	 2VNsGugrsS+u929m1jNE5nk16aff6bjXXlFfLXzb5ceJUlv1FCOl1qzUyXlobmCyOm
	 VEQAyxXun3azJ4riFYEKWQoDP3PXqxZloT0wGfkY=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 92C563857830
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to;
 bh=L3grJQM9OttACJr6DN2F2F8RuMV1nY3ZRCKQ+RuDJUQ=;
 b=SWtX3vFQOKNdlsyYpwFWpnxIPSeh5TU1wWGFpNfhThsFwg9yQApkhpUcrXFqqpTCb6
 7Cd3D6PRsvcuGgDrKAkONq9EVic1jmDX+AjWdSUIIr+E5FbEao1bls1tdf/urQfYvfwp
 cNIztzkiHQZX33JCHQTapHXfD5+LaWF3L0dff936PDWk9V2rGxMf8NmIJ8rNHDN68uFO
 rP/BTyQnGuSUyBV5Vi0lOZWn+Wly/4WOMxuF0tzpsaEIYnsVr1eE1IfTzkwFn8+b8xCO
 2Pa+ByXBLsfKHx6OtfQYlu6gDhIxKAq4VNJ/SX1NvEDLTNMvfn/H8viiEzBiqoS9VIdO
 pBtQ==
X-Gm-Message-State: AOAM530AdJ4CGedzetxgGrc/Jx/w8pXAKCvJvoEhHwR4PVHbTzkfUArY
 CWO9znVvpHEkmlGCat8z8nK015bzKX4UNq9emgvPtOkio6Q=
X-Google-Smtp-Source: ABdhPJxr9M1lTSxIWEmmxz0P2qMlF5xV6NfswlSu4ec2xlM2tcHe8JmftLjHWbPc0Biif7rTbKb8MgCrlFj+BdzQ7xA=
X-Received: by 2002:a17:902:b104:b029:ee:beb3:ef0a with SMTP id
 q4-20020a170902b104b02900eebeb3ef0amr19557037plr.80.1620560151392; Sun, 09
 May 2021 04:35:51 -0700 (PDT)
MIME-Version: 1.0
References: <CAGHpTBLp9tVES8=ggRkNk3HZLr-QT7n79ewKadTkWXyshBfcAw@mail.gmail.com>
 <CAGHpTBJHXXE6YUXjEX8wtE9wnX_wCz5HhrDKsJ_Dz2z1_f4LuQ@mail.gmail.com>
 <YJQrCvv79bHcH3Rz@calimero.vinschen.de>
 <CAGHpTBJ5L1Y4RU+n7PVr6vRCeEBkFPUgnVa8JGZDKcGt7n7JBQ@mail.gmail.com>
 <YJWvMVkkiqy4rmBc@calimero.vinschen.de>
In-Reply-To: <YJWvMVkkiqy4rmBc@calimero.vinschen.de>
Date: Sun, 9 May 2021 14:35:40 +0300
Message-ID: <CAGHpTBLEXRuox0yXKJOfkQO48EtVV3PgXYH0J98HrbassMRdgg@mail.gmail.com>
Subject: Re: realpath issue with native[strict] symlinks
To: cygwin@cygwin.com, Orgad Shaneh <orgads@gmail.com>
X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
 SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Orgad Shaneh via Cygwin <cygwin@cygwin.com>
Reply-To: Orgad Shaneh <orgads@gmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

On Sat, May 8, 2021 at 12:20 AM Corinna Vinschen
<corinna-cygwin@cygwin.com> wrote:
>
> I reworked the code handling native symlinks to handle virtual drives
> as well.  It might even be a tiny bit quicker now.
>
> The changes have a behavioral change, but I think this is for the
> better: Virtual drives are not treated as drives anymore, but as
> symlinks.  Given they are just pointers to other drives or directories,
> tha't much closer to reality.  I. e., in case of my above virtual drive
> T:, what you'll see in the /cygdrive dir (unless your cygdrive prefix is
> / only) is this:
>
> $ ls /cygdrive
> $ ls -lG /mnt
> total 16
> d---r-x---+ 1 TrustedInstaller  0 Apr 29 21:07 c
> drwxr-xr-x  1 corinna           0 Dec 31  1979 e
> lrwxrwxrwx  1 corinna          32 May  6 20:43 t -> /cygdrive/c/cygwin64/home/corinna/tmp
>
> I uploaded new developer snapshots to https://cygwin.com/snapshots/
> for testing.

Thank you very much. Looks good.

- Orgad

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