delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/04/20/23:05:24

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 940443839C53
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1618974318;
bh=c4nfNiOp7jKxfa3gTEeyJ/nimQj2k+baRB8tT4xr+k4=;
h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=rKzNNqbQsyuRc5014/XiSS9PeNmBRf6TCVALwsZU9Hg4bRPBqjjZbqIFotag5S6sD
4xxYpJZD65+t6dAfexNkNW8AFKaA38zg8vj+jNmHZrlNoVSR6Uj+pqZCYTgurBEoJw
ch2yM69ZwQJ2t3QS9ja0Uo2aEf4zUE6rssRXMua0=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 813A33860C3F
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com 13L34p3T011665
X-Nifty-SrcIP: [124.155.50.190]
Date: Wed, 21 Apr 2021 12:04:57 +0900
To: cygwin AT cygwin DOT com
Subject: Cannot access system32 directory from 32 bit cygwin after the
commit 456c3a46
Message-Id: <20210421120457.cd5b6e966288aa62eee1a013@nifty.ne.jp>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no 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 AT cygwin DOT 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 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>
From: Takashi Yano via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Hi Corinna,

I noticed the problem that /cygdrive/c/Windows/System32 directory
can be no longer accessed from 32 bit cygwin (WOW64) after the
commit:

commit 456c3a46386f38887407603b2c64b7f63a4871c5
Author: Corinna Vinschen <corinna AT vinschen DOT de>
Date:   Mon Apr 19 14:49:14 2021 +0200

    Cygwin: path_conv: Try to handle native symlinks more sanely

    For local paths, add a check if the inner path components contain native
    symlinks or junctions.  Compare the incoming path with the path returned
    by NtQueryInformationFile(FileNameInformation).  If they differ, there
    must be at least one native symlink or junction in the path.  If so,
    treat the currently evaluated file as non-existant.  This forces
    path_conv::check to backtrack inner path components until we eliminated
    all native symlinks or junctions and have a normalized path.

    Signed-off-by: Corinna Vinschen <corinna AT vinschen DOT de>

Reverting this commit resolves the issue.

64 bit cygwin does not seem to be affected. Could you please
have a look?

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