mirror of
https://github.com/openharmony/appexecfwk_standard.git
synced 2026-07-18 19:14:31 -04:00
fix problem of inconsistent of gid
Signed-off-by: s00494828 <shilei91@huawei.com> Change-Id: Idde0af063564cbdcf7eb3b26f50af098e08a6ed3
This commit is contained in:
@@ -113,6 +113,7 @@ ErrCode BundleSandboxInstaller::InstallSandboxApp(const std::string &bundleName,
|
||||
|
||||
// 6. create data dir and generate uid and gid
|
||||
userInfo.bundleName = bundleName_ + Constants::FILE_UNDERLINE + std::to_string(newAppIndex);
|
||||
userInfo.gids.clear();
|
||||
dataMgr_->GenerateUidAndGid(userInfo);
|
||||
userInfo.bundleName = bundleName_;
|
||||
info.AddInnerBundleUserInfo(userInfo);
|
||||
|
||||
Reference in New Issue
Block a user