From 4244c4055878cf5f47432aafd699b26275a07e40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Ravier?= Date: Mon, 8 Aug 2022 15:59:11 +0200 Subject: [PATCH] fonts: Fix permissions and labels for unpackaged fonts --- modules/ROOT/pages/fonts.adoc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/ROOT/pages/fonts.adoc b/modules/ROOT/pages/fonts.adoc index 438ad6a..96dc254 100644 --- a/modules/ROOT/pages/fonts.adoc +++ b/modules/ROOT/pages/fonts.adoc @@ -76,6 +76,11 @@ Create a new directory `/usr/local/share/fonts//` for the new Copy font files (e.g. `.ttf` files) to the new directory:: `sudo cp ~/Downloads/robofont.ttf /usr/local/share/fonts/robofont` +Set permissions and update SELinux labels:: +`sudo chown -R root: /usr/local/share/fonts/robofont` +`sudo chmod 644 /usr/local/share/fonts/robofont/*` +`sudo restorecon -RF /usr/local/share/fonts/robofont` + Update the font cache:: `sudo fc-cache -v`