Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2016 22:31:17 +0000
From:      Glen Barber <gjb@FreeBSD.org>
To:        Russell Haley <russ.haley@gmail.com>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: FreeBSD user home directory
Message-ID:  <20160720223117.GH65494@FreeBSD.org>
In-Reply-To: <CABx9NuRrO-z8ZO7hasGCdNYLz5xS5G=u%2Bnh_GncMPziMEV4joA@mail.gmail.com>
References:  <CABx9NuQr2h3iG%2BwSBObr4ap2RZLGt1zBRPWKXwy8RU3%2BASjAwg@mail.gmail.com> <20160720195652.GE65494@FreeBSD.org> <CABx9NuTsNapLMkk4-gEbAFB--xc488KunUMy9tg-bt71Us_agQ@mail.gmail.com> <20160720220656.GG65494@FreeBSD.org> <CABx9NuRrO-z8ZO7hasGCdNYLz5xS5G=u%2Bnh_GncMPziMEV4joA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <gjb@freebsd.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160720223117.GH65494>