From: Suyeon Hwang Date: Fri, 21 Apr 2023 08:38:02 +0000 (+0900) Subject: Add write permission to group X-Git-Tag: accepted/tizen/unified/20230425.130131~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=407c18b36fd794c425fc12701e2b2a299144a60b;p=platform%2Fcore%2Fuifw%2Ftts.git Add write permission to group Change-Id: I518bd6381b25267cd42fc79e485eb3a2fca92d1e Signed-off-by: Suyeon Hwang --- diff --git a/common/tts_config_parser.c b/common/tts_config_parser.c index d781688d..901b09ad 100644 --- a/common/tts_config_parser.c +++ b/common/tts_config_parser.c @@ -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); }