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 d60663f652256d70e3c64ee6ee1bf1bea808e107..1191c331106aa3a427ea92087dda8bc36c68d909 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;