From: Stuart Henderson Subject: Re: New user for fontconfig cache To: "Anthony J. Bentley" , tech@openbsd.org Date: Tue, 1 Jul 2025 10:09:44 +0100 On 2025/07/01 10:58, Florian Obser wrote: > On 2025-07-01 01:39 -06, "Anthony J. Bentley" wrote: > > When installing fonts, pkg_add(1) runs fc-cache(1) to add them to > > /var/cache/fontconfig. It does so as root, which makes me uncomfortable. > > During j2k25 I experimented with changing ownership of the font cache to > > a dedicated unprivileged user and switching to it during pkg_add; this > > works, and I'd like to make it the default. > > > > The first step is to create the user. Since this is simple and can > > be done independently of the remaining parts of the transition, I'd > > like to commit this right away. > > > > ok? > > > > probably NOT ok > > > +_fc-cache:*:120:120::0:0:Font configuration cache:/var/empty:/sbin/nologin > > uid 120 is used on cvs. I couldn't find it in the history, so I don't > know why it's there. How about 36? Never used, and next to _x11 which seems a good place for it.