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.3.2 sourceware.org 8FF673AA9419 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=anrdaemon AT yandex DOT ru DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1618995001; bh=gJHiHqS0JQth0S+V+yOCqCz7wmX2lhaHQ0DcJNU3Unk=; h=In-Reply-To:Subject:To:From:Message-ID:References:Date:Reply-To; b=Rys4z/UqaHP8+QE8n5GxGPae4cda0buqPU1VjiIwbxE0x8nNfaqpFr5+Is8COSokD sbmNgyhiAdFZe7OQFtuAw5/Vd6p5x9K0RfI8YgswLKkMFhPTeumaMdDO8EzUEL8/Dq TeDy1xJX7wUOIrF3JJ3yWGcXhD0e3bF2Z0+F9y0Y= Authentication-Results: sas1-8418212adc37.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru Date: Wed, 21 Apr 2021 11:49:00 +0300 From: Andrey Repin X-Mailer: The Bat! (v6.8.8) Home X-Priority: 3 (Normal) Message-ID: <1801483573.20210421114900@yandex.ru> To: Takashi Yano , cygwin AT cygwin DOT com Subject: Re: Cannot access system32 directory from 32 bit cygwin after the commit 456c3a46 In-Reply-To: <20210421120457.cd5b6e966288aa62eee1a013@nifty.ne.jp> References: <20210421120457 DOT cd5b6e966288aa62eee1a013 AT nifty DOT ne DOT jp> MIME-Version: 1.0 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT, KAM_THEBAT, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Greetings, Takashi Yano! > 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 > 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 > Reverting this commit resolves the issue. > 64 bit cygwin does not seem to be affected. Could you please > have a look? How exactly it "can no longer be accessed" ? Is it opening WOW64 System32 or not opening anything at all? -- With best regards, Andrey Repin Wednesday, April 21, 2021 11:47:03 Sorry for my terrible english... -- 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