From 46de36e25eb15a3d6096c3d491bfdb53f54ac256 Mon Sep 17 00:00:00 2001 From: liuhaotian Date: Tue, 3 Sep 2024 17:20:41 +0800 Subject: [PATCH] =?UTF-8?q?fix=20access=20ext=20=EF=BC=88cherry=20picked?= =?UTF-8?q?=20commit=20from=20=20Sign?= =?UTF-8?q?ed-off-by:=20liuhaotian=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- interfaces/kits/js/src/mod_fs/properties/prop_n_exporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/kits/js/src/mod_fs/properties/prop_n_exporter.cpp b/interfaces/kits/js/src/mod_fs/properties/prop_n_exporter.cpp index d60663f65..1191c3311 100644 --- a/interfaces/kits/js/src/mod_fs/properties/prop_n_exporter.cpp +++ b/interfaces/kits/js/src/mod_fs/properties/prop_n_exporter.cpp @@ -183,7 +183,7 @@ static int HandleLocalCheck(const string &path, int mode) physicalPath.replace(physicalPath.find(USER_ID_FLAG), USER_ID_FLAG.length(), to_string(userId)); physicalPath.replace(physicalPath.find(PACKAGE_NAME_FLAG), PACKAGE_NAME_FLAG.length(), bundleName); - return UvAccess(path, mode); + return UvAccess(physicalPath, mode); } return ENOENT; -- Gitee