Add write permission to group 96/291796/1
authorSuyeon Hwang <stom.hwang@samsung.com>
Fri, 21 Apr 2023 08:38:02 +0000 (17:38 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Fri, 21 Apr 2023 08:38:02 +0000 (17:38 +0900)
Change-Id: I518bd6381b25267cd42fc79e485eb3a2fca92d1e
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
common/tts_config_parser.c

index d781688..901b09a 100644 (file)
@@ -573,7 +573,7 @@ int tts_parser_load_config(void)
                } while (0 != ret);
 
                /* Set mode */
-               if (0 > chmod(TTS_CONFIG, 0644)) {
+               if (0 > chmod(TTS_CONFIG, 0664)) {
                        SLOG(LOG_ERROR, TAG_TTSCONFIG, "[ERROR] Fail to change file mode : %d", ret);
                }
 
@@ -677,7 +677,7 @@ int tts_parser_copy_xml(const char* original, const char* destination)
        }
 
        /* Set mode */
-       if (0 > chmod(destination, 0644)) {
+       if (0 > chmod(destination, 0664)) {
                SLOG(LOG_ERROR, TAG_TTSCONFIG, "[ERROR] Fail to change file mode : %d", ret);
        }