From owner-freebsd-questions@freebsd.org Mon Feb 27 10:40:48 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 753FCCEF95A for ; Mon, 27 Feb 2017 10:40:48 +0000 (UTC) (envelope-from steve@sohara.org) Received: from smtp3.irishbroadband.ie (smtp4.irishbroadband.ie [62.231.32.6]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 43236F5 for ; Mon, 27 Feb 2017 10:40:47 +0000 (UTC) (envelope-from steve@sohara.org) Received: from [89.127.62.20] (helo=smtp.lan.sohara.org) by smtp3.irishbroadband.ie with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1ciHvr-0004nv-KJ for freebsd-questions@freebsd.org; Mon, 27 Feb 2017 09:49:31 +0000 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.88 (FreeBSD)) (envelope-from ) id 1ciHXh-0004hF-Et for freebsd-questions@freebsd.org; Mon, 27 Feb 2017 09:24:29 +0000 Date: Mon, 27 Feb 2017 09:23:36 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: home directory overridden by root? Message-Id: <20170227092336.91a47cd15043b9b7d65a4c96@sohara.org> In-Reply-To: References: X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd10.3) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2017 10:40:48 -0000 On Sun, 26 Feb 2017 15:22:23 -0800 Paul Beard wrote: > For some reason my home directory reverts to/is confused with /root. I > login, get dropped at home, but cd will take me to /root and any command > I run assumes I am in root’s (non-writable) home. How can I fix that? I > can’t quite make out what’s wrong. Try echo $HOME and if it says /root go hunting for where it is being set. -- Steve O'Hara-Smith