diff --git a/src/appspawn_server.cpp b/src/appspawn_server.cpp old mode 100755 new mode 100644 index 0bc9c2bde01dda8605016b5ea59e6e740d2776a3..7fd5ffea3c83dc1e05707318e38758ec910a9a87 --- a/src/appspawn_server.cpp +++ b/src/appspawn_server.cpp @@ -659,7 +659,8 @@ int32_t AppSpawnServer::DoAppSandboxMountCustomized(const ClientSocket::AppPrope std::string currentUserId = std::to_string(appProperty->uid / UID_BASE); std::string destInstallPath = rootPath + "/data/storage/el1/bundle"; - if (bundleName.find("launcher") != std::string::npos || bundleName.find("systemui") != std::string::npos) { + if (bundleName.find("launcher") != std::string::npos || bundleName.find("systemui") != std::string::npos ||\ + bundleName.find("permissionmanager") != std::string::npos || bundleName == "com.ohos.settings") { // account_0/applications/ dir can still access other packages' data now for compatibility purpose std::string oriapplicationsPath = "/data/app/el1/bundle/public/"; std::string destapplicationsPath = rootPath + "/data/accounts/account_0/applications/";