This looks like some kind of typo, however will cause app application
failed to update desktop entry in database.
For example, starter will update sat-ui entry in database once it's
ready, while starter running as 'app' privilege, which is a member of
group 'db_menu'.
Change-Id: I3ff02609e5412b4004edd2fcb7007616983e8b7e
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
return AIL_ERROR_FAIL;
}
- ret = chmod(files[i], S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
+ ret = chmod(files[i], S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH);
if (ret == -1) {
strerror_r(errno, buf, sizeof(buf));
_E("FAIL : chmod %s 0664, because %s", db_file, buf);