Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: Unprivileged font cache: src
To:
"Anthony J. Bentley" <bentley@openbsd.org>
Cc:
tech@openbsd.org
Date:
Tue, 1 Jul 2025 10:06:05 +0100

Download raw body.

Thread
On 2025/07/01 01:40, Anthony J. Bentley wrote:
> +	# Transition users to unprivileged font cache
> +	if [[ $MODE == upgrade ]]; then
> +		chown _fc-cache:_fc-cache /mnt/var/cache/fontconfig/*
> +	fi

Is there a reason not to chown -R on the dir instead? It would avoid the
risk of overflowing the shell command line if there are too many files
when expanding /mnt/var/cache/fontconfig/* (mostly 72 chars per file).