- Issue : In case of root daemon, it cannot read tts-config file because permission didn't allow it.
- Solution : We change tts-config file's directory permission every user can read the tts-config file.
Change-Id: I133de3acfbb8286890558837953cfa871c5dd413
} while (0 != ret);
/* Set mode */
- if (0 > chmod(TTS_CONFIG, 0600)) {
+ if (0 > chmod(TTS_CONFIG, 0644)) {
SLOG(LOG_ERROR, TAG_TTSCONFIG, "[ERROR] Fail to change file mode : %d", ret);
}
}
/* Set mode */
- if (0 > chmod(destination, 0600)) {
+ if (0 > chmod(destination, 0644)) {
SLOG(LOG_ERROR, TAG_TTSCONFIG, "[ERROR] Fail to change file mode : %d", ret);
}