Index | Thread | Search

From:
Klemens Nanni <kn@openbsd.org>
Subject:
Re: Unprivileged font cache: src
To:
tech@openbsd.org
Date:
Thu, 3 Jul 2025 20:31:25 +0000

Download raw body.

Thread
03.07.2025 16:30, Theo de Raadt пишет:
> +       # Transition users to unprivileged font cache
> +       if [[ $MODE == upgrade ]]; then
> +               chown -R _fc-cache:_fc-cache /mnt/var/cache/fontconfig
> +       fi
> 
> I think this is wasting installer bytes.  It causes no problems if run
> at install time.  Just delete the conditional.

You can put it inside do_upgrade();  not quite the place for stuff like this,
but as temporary thing for one or two releases certainly fine, imho.

Write a proper comment as for why and how long, those can be detailed as they
get removed, anyway.