change the chmod for tts-config.xml 81/308981/1
authordyamy-lee <dyamy.lee@samsung.com>
Tue, 2 Apr 2024 09:37:36 +0000 (18:37 +0900)
committerdyamy-lee <dyamy.lee@samsung.com>
Tue, 2 Apr 2024 13:40:42 +0000 (22:40 +0900)
when data migration, previous version in home directory has their authority as 600.
but when root directory after 8.0, it needs 664(rw-rw-r).
If it doesn't apply, it is working fail.

Change-Id: Ib0a6956b9b41f04b8ad6eb6d1b8eb6d1450380fe

script/migration/tts.sh

index 8b5230e76a76a49506e5cae349367a50386c0261..5ae1e0f91759f85339fc81eb6dc8c3c805d5afdc 100644 (file)
@@ -42,6 +42,7 @@ function tts_migration() {
         mig_copy $SRC_CONF_PATH $DST_PATH || error_handle "default_data" $LINENO
 
         chown -R ui_fw:users $(get_rw_path)/usr/data/.voice
+        chmod 664 $(get_rw_path)/usr/data/.voice/tts-config.xml
 
         log I "TTS Migration 7.0 only END"
     else
@@ -76,4 +77,4 @@ mig_init
 tts_migration
 mig_finish
 
-exit 0
+exit 0
\ No newline at end of file