ret = chmod(account_db_path, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
ACCOUNT_DEBUG("chmod result = [%d]", ret);
- rc = db_util_open(account_db_jn_path, &g_hAccountGlobalDB, DB_UTIL_REGISTER_HOOK_METHOD);
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);
ret = chmod(account_db_path, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
ACCOUNT_DEBUG("chmod result = [%d]", ret);
- rc = db_util_open(account_db_jn_path, &g_hAccountGlobalDB, DB_UTIL_REGISTER_HOOK_METHOD);
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);