From owner-freebsd-arm@freebsd.org Wed Jul 20 22:31:18 2016 Return-Path: Delivered-To: freebsd-arm@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 CA354BA01C5 for ; Wed, 20 Jul 2016 22:31:18 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id B96771D93; Wed, 20 Jul 2016 22:31:18 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by freefall.freebsd.org (Postfix) with ESMTP id 7A02614C8; Wed, 20 Jul 2016 22:31:18 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Wed, 20 Jul 2016 22:31:17 +0000 From: Glen Barber To: Russell Haley Cc: freebsd-arm Subject: Re: FreeBSD user home directory Message-ID: <20160720223117.GH65494@FreeBSD.org> References: <20160720195652.GE65494@FreeBSD.org> <20160720220656.GG65494@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yoJ+tVrWAGi8fpuI" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event X-PEKBAC-Definition: Problem Exists, Keyboard Between Admin/Computer User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2016 22:31:18 -0000 --yoJ+tVrWAGi8fpuI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 20, 2016 at 04:19:32PM -0600, Russell Haley wrote: > On Wed, Jul 20, 2016 at 4:06 PM, Glen Barber wrote: > >> Which seems to me to still be in error as there are now TWO home dire= ctories. > >> > > > > This seems strange. On one of my boards, /usr/home does not exist. > > > > freebsd@rpi2:~ % ls /usr/home > > ls: /usr/home: No such file or directory > > > > In addition, look at the timestamp of your /usr/home. > > > > Could you do an ls(1) in there? I'm curious what added that. >=20 > There is no files in the /usr/home directory. >=20 > freebsd@imx6:/usr/home% ls -l > total 0 >=20 > Both /usr/home and /home were created on July 2, which was the day I > created the sd card (I think, the image was posted on July 1). >=20 Hmm, even stranger. I wonder if this was somehow created when you first logged into the system. The timestamp change for /home makes sense, since all of the dot-files (.cshrc, etc.) are populated from the skeleton (/usr/share/skel) on first login. You may have discovered a bug somewhere, I'm not sure where yet. > > Anyway, this is easy to fix. >=20 > >> Maybe I haven't been paying enough attention when generating users but > >> I could have sworn that all previous users I create went under > >> /usr/home (I know, I'm being pedantic if the symlink exists). > >> > > > > Well, no, you're not being pedantic. This is a "what does the user > > expect" issue. Thank you for the report. > > > > I'll look into this a bit more. >=20 > Thanks for your help! >=20 Thank you for reporting this. Glen --yoJ+tVrWAGi8fpuI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXj/u1AAoJEAMUWKVHj+KTJOEQAIaQ7RGKI12oqdC2kpN2Mx4I G2MVxje7gB6E90sctXBGzxxwEyITRqgZ5aObL7yGag7+Bt0Abh7D3oykxVfrDteC C/FDRYn3QJYW7usV6VONAXuY9BJNYZ0m1lNGleLOMhn0AUMMcysSrM/pfTqZJxjF 7h0kfyoV9YBYVKhSLJ2VvBhvWDakIi9epaMtv40mP16Xo4GUohHNyHedqH3WmwBw r9ndqEfrLHT0S4PfeO12e1w9lsezDNqrR/giuaHmHI8M1EgB5KWsNKgDvf6+VJQD /6LfbDN6BzGgG8+ZPyv7PajP6CDt2aDCuZjTK33oGew3U9JuCD+R1SP17ijdUWNt C2k2nWVX6rRGORrZw9p9bMeJNqtS8KaHm37tzdak17jh3+Jnwp5IMe8R8BnnEXWg OWqaC+vM46dzJbRq9+gL1WaoK8BoNvlGQJTUNztMH3VrZTNDnevngT+PyG+syLGS 6KsE1JX63tTRIr1aQSrCAsbufKvTdW90+uPlSydZbpRM/Q4rjbC+bOYeVfuuIyFg 1W6vw87KpUvhjjPCMZ0AIAk47VuywqoYrIPiArLmbeO/WVP7q61jcQ+tFqj2zA97 k4yd4BqO94qzM507RTOZYcLbu3ZPxV9rAJlXxawnAmn2vB9I1AeI17kbH9NHUsNq Sajzw0L32i4Inf3f312T =NOUH -----END PGP SIGNATURE----- --yoJ+tVrWAGi8fpuI--