From b41c01c2404fd0cd53aeb54dd60a2bbe81f84169 Mon Sep 17 00:00:00 2001 From: chenqiwei Date: Fri, 8 Aug 2025 03:06:49 +0000 Subject: [PATCH] modify Signed-off-by: chenqiwei --- .../wifi_native/client/hdi_client/wifi_hdi_wpa_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/wifi_hdi_wpa_client.cpp b/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/wifi_hdi_wpa_client.cpp index 457863c11..4854b3c5b 100644 --- a/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/wifi_hdi_wpa_client.cpp +++ b/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/wifi_hdi_wpa_client.cpp @@ -767,7 +767,7 @@ bool WifiHdiWpaClient::WriteConfigToFile(const std::string &fileContext) } file << fileContext << std::endl; file.close(); - if (chmod(destPath.c_str(), S_IRUSR | S_IWUSR | S_IRGRP) != 0) { + if (chmod(destPath.c_str(), S_IRUSR | S_IWUSR) != 0) { LOGE("Set file permissions failed: %s", strerror(errno)); return false; } -- Gitee