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.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 AT perezterron DOT net To: cygwin AT cygwin DOT com Subject: Incorrect results from 'cygpath -w' when having anaconda installed User-Agent: Roundcube Webmail/1.4.5 Message-ID: <7d8ae6437bc0f3a83a083441ef7f47c2@perezterron.net> 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 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "Cygwin" 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 -- 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