From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from fox.rettoggalt.com (fox.rettoggalt.com [208.113.132.120]) by sourceware.org (Postfix) with ESMTPS id 562E13858D32 for ; Sat, 5 Nov 2022 01:50:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 562E13858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=perezterron.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=perezterron.net Authentication-Results: fox.rettoggalt.com; auth=pass (login) MIME-Version: 1.0 Date: Sat, 05 Nov 2022 02:50:13 +0100 From: enrique@perezterron.net To: cygwin@cygwin.com Subject: Incorrect results from 'cygpath -w' when having anaconda installed User-Agent: Roundcube Webmail/1.4.5 Message-ID: <7d8ae6437bc0f3a83a083441ef7f47c2@perezterron.net> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Received: from localhost (Unknown [127.0.0.1]) by fox.rettoggalt.com (Haraka) with ESMTPSA id B016435D-7974-4F02-8AD1-E02C6290CBF5.1 envelope-from (authenticated bits=0) (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256); Sat, 05 Nov 2022 02:50:19 +0100 DKIM-Signature: v=1;a=rsa-sha256;bh=nJxOFptktiAEGNrM6iAGqR4HgjeOyy6tXthnLFRp+dU=;c=relaxed/simple;d=perezterron.net;h=from:subject:date:message-id:to:mime-version;s=s20171006591;b=jgZJefl0uaESibu+VI/HbopEFNw2mp8WGHQVNRlD4hSnoct/iKcYKyqL+IvanIMrRMG7JPhYVNN/Hxe4P0K0tPy939vwoi/iPEOQMV2cuipM7yqKxIYphaXX9KRLMKfKJDTldhw1rppSwhgKavwr3dtDzOoJqnY7RjtWUK+TLGyX+7S0A5PC8fytFJng6RfiRokagSomdI388Y8nFya3r13HqjuAMqTHaSFIaB14GkKsnCWlkC1az/TP5wlU7KWwSmQJf+e0VuitaDZTLUWR+vOdHNHiSX3AvHQdJnOL7RqQaQFYAqxt5rtIJo42FRiVCTCyqtFJ8kgtV+L80++7dA== X-Spam-Status: No, score=2.9 required=5.0 tests=BAYES_50,DKIM_INVALID,DKIM_SIGNED,KAM_DMARC_STATUS,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hello! I am having incorrect results from 'cygpath -w': ### I have the cygwin root directory in C:\cygwin64, as confirmed by 'cmd': $ cmd Microsoft Windows [Version 10.0.22621.674] (c) Microsoft Corporation. Med enerett. C:\cygwin64\home\Enrique>exit ### Cygwin thinks my home directory is: $ pwd /home/Enrique ### But 'cygpath -w' thinks ... $ cygpath -w /home/Enrique C:\Users\Enrique\anaconda3\Library\home\Enrique ### Investigating, I found that there is no 'home' in C:\Users\Enrique\anaconda3\Library. ### Then I discovered this: $ mount C:/Users/Enrique/anaconda3/Library on / type ntfs (binary,noacl,auto) C:/Users/Enrique/anaconda3/Library/usr/bin on /bin type ntfs (binary,noacl,auto) C: on /cygdrive/c type ntfs (binary,noacl,posix=0,user,noumount,auto) Huh ??? How does this work? Is there a way to hide the mounts done by anaconda? I guess some anaconda binaries want to find the 'Library' directory as the root, but cygwin continues to find its own root under C:/cygwin64. Why does it get tripped by the anaconda install just when doing the path translation? -Enrique