From 407f130869150f557cc5e0623d0c4b0434c2bfb8 Mon Sep 17 00:00:00 2001 From: Youngbok Shin Date: Fri, 23 Sep 2016 13:08:54 +0900 Subject: [PATCH] Remove chown, chmod for fontconfig cache path It caused side effect on performance of all of applications. Change-Id: I952ae0491544dda438ddb3e5566a7d01e37f6be6 --- packaging/fontconfig.conf | 1 - packaging/fontconfig.spec | 2 -- 2 files changed, 3 deletions(-) diff --git a/packaging/fontconfig.conf b/packaging/fontconfig.conf index 1661cc5..430f2fd 100644 --- a/packaging/fontconfig.conf +++ b/packaging/fontconfig.conf @@ -1,3 +1,2 @@ -d /opt/var/cache/fontconfig 1774 owner users t /opt/var/cache/fontconfig - - - - security.SMACK64="User::App::Shared" t /opt/var/cache/fontconfig - - - - security.SMACK64TRANSMUTE="TRUE" diff --git a/packaging/fontconfig.spec b/packaging/fontconfig.spec index 6f9fa3d..7f0ef71 100644 --- a/packaging/fontconfig.spec +++ b/packaging/fontconfig.spec @@ -120,8 +120,6 @@ mkdir -p %{TZ_SYS_RO_SHARE}/app_fonts # The HOME setting is to avoid problems if HOME hasn't been reset if [ -x %{TZ_SYS_BIN}/fc-cache ] && %{TZ_SYS_BIN}/fc-cache --version 2>&1 | grep -q %{version} ; then fc-cache -rf --system-only -chown -R owner:users %{TZ_SYS_VAR}/cache/fontconfig -chmod -R 664 %{TZ_SYS_VAR}/cache/fontconfig fi %postun -p /sbin/ldconfig -- 2.7.4