ret = chmod(account_db_path, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
ACCOUNT_DEBUG("chmod result = [%d]", ret);
- ret = chown(account_db_jn_path, SERVICE_FW_UID, SERVICE_FW_GID);
- ACCOUNT_DEBUG("chown result = [%d]", ret);
- ret = chmod(account_db_jn_path, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
- ACCOUNT_DEBUG("chmod result = [%d]", ret);
+ //ret = chown(account_db_jn_path, SERVICE_FW_UID, SERVICE_FW_GID);
+ //ACCOUNT_DEBUG("chown result = [%d]", ret);
+ //ret = chmod(account_db_jn_path, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
+ //ACCOUNT_DEBUG("chmod result = [%d]", ret);
} else {
if (mode == ACCOUNT_DB_OPEN_READWRITE)
rc = db_util_open(account_db_path, p_hAccountDB, DB_UTIL_REGISTER_HOOK_METHOD);
ret = chmod(account_db_path, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
ACCOUNT_DEBUG("chmod result = [%d]", ret);
- ret = chown(account_db_jn_path, SERVICE_FW_UID, SERVICE_FW_GID);
- ACCOUNT_DEBUG("chown result = [%d]", ret);
- ret = chmod(account_db_jn_path, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
- ACCOUNT_DEBUG("chmod result = [%d]", ret);
+ //ret = chown(account_db_jn_path, SERVICE_FW_UID, SERVICE_FW_GID);
+ //ACCOUNT_DEBUG("chown result = [%d]", ret);
+ //ret = chmod(account_db_jn_path, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
+ //ACCOUNT_DEBUG("chmod result = [%d]", ret);
} else {
if (mode == ACCOUNT_DB_OPEN_READWRITE)
rc = db_util_open(account_db_path, &g_hAccountGlobalDB, DB_UTIL_REGISTER_HOOK_METHOD);