From: dyamy-lee Date: Thu, 30 Mar 2023 11:48:36 +0000 (+0900) Subject: set option -t on engine-info directory X-Git-Tag: accepted/tizen/unified/20230419.044940~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F78%2F290678%2F1;p=platform%2Fcore%2Fuifw%2Ftts.git 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 --- diff --git a/packaging/tts.spec b/packaging/tts.spec index dad27e11..9592b396 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