From c0530f0c5622997f4d068324a025edad04e9a812 Mon Sep 17 00:00:00 2001 From: dyamy-lee Date: Thu, 30 Mar 2023 20:48:36 +0900 Subject: [PATCH] set option -t on engine-info directory - Issue : When engine config file created, the file's smack label is still not follow directory. - Solution : By giving transmute option of smack, it can works all created file and directory get same smack label with this directory. Change-Id: I0ca6d2a9f0aef13ff252d3b94a61f5ab6313f35c --- packaging/tts.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/packaging/tts.spec b/packaging/tts.spec index dad27e1..9592b39 100644 --- a/packaging/tts.spec +++ b/packaging/tts.spec @@ -197,6 +197,7 @@ chsmack -t %{TZ_SYS_GLOBALUSER_DATA}/.voice chsmack -a "User::App::Shared" %{TZ_SYS_GLOBALUSER_DATA}/.voice mkdir -p %{TZ_SYS_GLOBALUSER_DATA}/.voice/tts/engine-info chsmack -a "User::App::Shared" %{TZ_SYS_GLOBALUSER_DATA}/.voice/tts +chsmack -t %{TZ_SYS_GLOBALUSER_DATA}/.voice/tts/engine-info chsmack -a "User::App::Shared" %{TZ_SYS_GLOBALUSER_DATA}/.voice/tts/engine-info chown -R ui_fw:users %{TZ_SYS_GLOBALUSER_DATA}/.voice -- 2.7.4