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

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 60F313AAAC05
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1618996813;
bh=AQI/k4GXHzPTIvOiBv+mjKCLH5R043lBe4vN97HcGaw=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=bjI3acvVtVHq3Y829xgR0sw4KtM/ilSXjV45mDTuers8wBfjGLJ/AIcZTEqZeiDaj
FHlm/5Kml32LNX0RNjy7FMgsZ4g84Zl+X0V4SMBc2lh823rLHIg7IAZNMTtd2N534N
QfYsuAtUrTszeSWLiOvkPNzKc3TBwIsqKC/0eCZU=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 79BFB3AA9C55
Date: Wed, 21 Apr 2021 11:19:57 +0200
To: cygwin AT cygwin DOT com
Subject: Re: Cannot access system32 directory from 32 bit cygwin after the
commit 456c3a46
Message-ID: <YH/uPeBvTfxKdRxQ@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20210421120457 DOT cd5b6e966288aa62eee1a013 AT nifty DOT ne DOT jp>
MIME-Version: 1.0
In-Reply-To: <20210421120457.cd5b6e966288aa62eee1a013@nifty.ne.jp>
X-Provags-ID: V03:K1:LxgzwWXxCK5G/hfliSlzyEIV0tx1JwLwZF78c83sT2GhC0uPRN/
4Rm6R8fDdwb8TEeupY1ePCoOgSamOhOl2L4iEGGhdB2GUKxu75Hu1TIQR7uXka6lOYg1CKo
723y3vHKyy/JjlJa0NHgrp7LT7XOrPSbvaLH0snoy7rtqHRH6hf5bVrstw3XsulITZ/T3xf
gd6g8cojPoJTQkTkyqcxA==
X-UI-Out-Filterresults: notjunk:1;V03:K0:xmwWCijISVY=:+TBIgkED6usJkM+K0chPvO
FEI0MMZJRpCYR2uA2mKvK1rAy+QQ4kJ4DtF5PNKQlYBsw9vcEDTvNeBsKw9zGnCyyRisrqEUv
g+ovNzbWL3UTk0YtL1keNwVvFne/5uytAOUQRh4EOfeDHKKQ7Ye42uN0+62N6Id5alEQgmk+/
KX7yUiFlewG6c/+vJrQA212kFscBnLrl8sHu/8Q+WUiunIX3OLyif/jVBol6C5SFtEZBNF/g3
Qpb/yYBKz4a67P4i75ZQ0IH+Im3KNY+7YEdZpN2ubAtnRiipjRXjonSP3ZEMfWEVhYJV5ERuX
+j6fnmnx41Vg9QScr+FE1T9BqKF+7awYHtBaXjuy9y2Cpe15eYjF/vQLSeG6VNr8ELEshG74P
Jvt5UrpSjQ0n6xynNwJ5vaJ/MENZAuPv1NRIpiNnHUS3YQFU7H5IuNtJpaY/NGZd1oRSywFse
jUjNM7K0H3Oq+k4RgFYy9QCJgmt7fcXBFSgB9MCpqu5K1B2DLEWawPwDvABpAOn2+s5WfdXGO
30GzcUmJGAnUtgCBG+BgKs=
X-Spam-Status: No, score=-100.1 required=5.0 tests=BAYES_00,
GOOD_FROM_CORINNA_CYGWIN, KAM_DMARC_NONE, KAM_DMARC_STATUS, KAM_NUMSUBJECT,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,
SPF_NEUTRAL, 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 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>
From: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Hi Takashi,

On Apr 21 12:04, Takashi Yano via Cygwin wrote:
> 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:

The problem here is the File System Redirector,
https://docs.microsoft.com/en-us/windows/win32/winprog64/file-system-redirector

This thing is really a problem because it break every, otherwise
sane assumption.  Hmm, bummer.  I need some time to think about
a solution here.


Thanks,
Corinna

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

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