set option -t on engine-info directory 78/290678/1
authordyamy-lee <dyamy.lee@samsung.com>
Thu, 30 Mar 2023 11:48:36 +0000 (20:48 +0900)
committerdyamy-lee <dyamy.lee@samsung.com>
Thu, 30 Mar 2023 11:48:40 +0000 (20:48 +0900)
- 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

index dad27e1..9592b39 100644 (file)
@@ -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