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 C164538582A3 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=c8Kzrh8MDX2Uz6H2p15CbDfefh3BhwIn1nyDj1h5feU=; b=bIseKLCm0+skNmRFuuCMmgzbRteirNK1EoTSM2DziO5cr+casUEybtZRmY5yUicoZB JY1krNy4FY/bEs8/LtKPuWr87vs1xrqiF8K7eldr+EbNPBVOO1691EKfjdJCtK069K7h 8UwR1T+vPLXsNv9L0rg5oaMP1mXvjt3ID35r9vM9QTRIf9kfMtD835QG0lQjOiBiEWLC z0uAhU89WPjwB/VXF6iDy4Q9sPAZyU1guTKRo30NzLgh7HZSZGqHzw5/mV5UHW9DQV+h e9PkKpUbI4NlY7fdPa7rv7hxcOpAqSiBQ6nifONGbWBPTHWuxEl/UbxEsBQcKl+9eaQO T+lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=c8Kzrh8MDX2Uz6H2p15CbDfefh3BhwIn1nyDj1h5feU=; b=DhBSyQ16YGPG6woho0ov0YqxGYocm4FmPv5Eys/UJDmgicLdS1WhN5qcmnFxN4DeEO Aw41ym/OJQwJTAkaTjeqsyq8L715w2DsK5jAp48Fi9y06n9PJ6aucMKH+OEJUaSEFSoD 5Y7NO64mX7YmgqjEyYdzhQ6wXziOehDAsSuHNf7GvtdqeXItAlE3NM+QPWgHN/84PC9l EbaXyB6OoOW9WG0raG+XwOD3nKAvIp8ihdd+wZYTz7ujp/9W89rPtHuTobYHVKevsWsn FpEqra47l7PSCulIlYka83D87ygf0LK+0I+BSDpKHn55XjloGoQDtjrzLzB4mbKJqpnT wn3Q== X-Gm-Message-State: ANoB5pk9rEAPj3qkHgrihyUsB4yLr5Ro+AMp/7zSIOHki93lGBP+kHmZ 4SftvfXmtUi2jAtxzzFNcPl4J761gGGkBiXhBY86zwDEc/s= X-Google-Smtp-Source: AA0mqf6hm5jVgxJPREqhlG8XSd8OT6HEHj78dwj+UfsqW+51qgUW6TV5sCcrdIIdHzW0KPr+qzSP2X0QfUiAVdK38h8= X-Received: by 2002:a50:fa87:0:b0:467:4a80:719b with SMTP id w7-20020a50fa87000000b004674a80719bmr6206983edr.174.1668274804423; Sat, 12 Nov 2022 09:40:04 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: David Standish Date: Sat, 12 Nov 2022 12:40:03 -0500 Message-ID: Subject: Re: dirsfile incorrect on startup? To: Lester Ingber , cygwin AT cygwin DOT com X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On 11/12/22, Lester Ingber via Cygwin wrote: > When I login to my cygwin I see > /cygdrive/c/Users/ingber/My: Command not found. > > I have tried to edit my ~/.dirsfile (in /home/ingber/ which is where I > wish to start) but those changes do not persist between login sessions? > > The problem likely stems from may of my files now in a G: drive (a > virtual drive added by Google) that starts at C:/Users/ingber (which I do > not want to land in on login). It may be that windows sets HOMEDRIVE env to G: when you're connected. I don't know the preferred solution. Here are a couple things that may work. You can set HOME env to override, You can also configure your user home in /etc/passwd. I see mention of setting db_home in /etc/nsswitch.conf. David -- 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