Add write permission to group
[platform/core/uifw/tts.git] / 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);
        }