X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; q=dns; s=default; b=giH U4JTmPhbKtsXjVWR3UjooaAJVA2laVvtfH6tjb0tuzdu8RBc1O250ximrr48IQJc wDUsRlGPVkrjFtvUeMrauQ8g7pg1gAybgMFufcEoYhsteWqwcbZXniUfF2FQgq50 FYSlL2YkmtYSuyJJgO7V6jZXCUzGS2bq6wPVAEMY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; s=default; bh=CEwKJyEN6 RJEpXaVOWLthLT69Vc=; b=tag03BgZRj0FcrqyiCKHKu9DrFKbOY9d4Uj6pNnf/ wC4Tj6+dbiYjmkjIVTc2kG2G4hS0krOeHx+1QwiuNPns8QUm9qumvGDtFaa0vaHF yLoqSVAKfI8KuBqMDI3mROBLpPu9WkFhts8QPsm8Qjrgh7yn9cyLbX1IkYUUbIFu 1E= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=launching, countless X-HELO: smtp-out-no.shaw.ca X-Authority-Analysis: v=2.3 cv=X6B81lbe c=1 sm=1 tr=0 a=svGWyR+DAXkBhjcOTX5/Zw==:117 a=svGWyR+DAXkBhjcOTX5/Zw==:17 a=FGUWtNRAFYoA:10 a=kj9zAlcOel0A:10 a=xqWC_Br6kY4A:10 a=v2DPQv5-lfwA:10 a=y36lnUG2tD-ht_zlts0A:9 a=CjuIK1q_8ugA:10 From: "Joseph L. Casale" To: "'cygwin AT cygwin DOT com'" Subject: Unexpected behavior of HOME value Date: Mon, 12 Mar 2018 14:15:51 +0000 Message-ID: <7017cd7403374f619c1b364f2dae8e8f@activenetwerx.com> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-CMAE-Envelope: MS4wfJomOErVfPm1Xr1jrmPeNSdECqmVP9SxgAFF2M/09dOFzYXKpKebUv3qoWPqyiaFHmdq/oD2rZv3H2jnrs/mF3p9y9b334OuP07HNW9t2lGDt044TvUr x93uW06Js5kA/Fx6JrUo6o1VWCdwWujacQQzujWW9440BcvkxBrQPFv5O+TNDq2aqw47EGwfVdFFrA== X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w2CEG6vZ021212 Looking at /etc/profile, I see the following: # Here is how HOME is set, in order of priority, when starting from Windows # 1) From existing HOME in the Windows environment, translated to a Posix path # 2) from /etc/passwd, if there is an entry with a non empty directory field # 3) from HOMEDRIVE/HOMEPATH # 4) / (root) # If the home directory doesn't exist, create it. From a command shell: C:\Users\jcasale>set h HOMEDRIVE=C: HOMEPATH=\Users\jcasale C:\Users\jcasale>type \cygwin64\etc\nsswitch.conf ... db_home: windows Yet my home is generated as /home/jcasale and the directory is created when launching a terminal. I have countless installs of Cygwin where this works as expected and the HOME variable is constructed as expected using the HOMEDRIVE/HOMEPATH convention. Does anybody have an idea what could be different on this one system that I could check? Thanks, jlc -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple