To get user's app_rw directory
the parameter uid passed to GetRootAppPath should be user's uid
Change-Id: I1c9a30e1f3989b7b8ff70717c16fbe1c89f714d3
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
for (auto l : list) {
uid_t lu = std::get<0>(l);
gid_t lg = std::get<1>(l);
- bf::path owner_apps_rw = ci::GetRootAppPath(false, uid);
+ bf::path owner_apps_rw = ci::GetRootAppPath(false, lu);
std::vector<bf::path> apps_rw_paths;
apps_rw_paths.push_back(std::move(owner_apps_rw));
for (auto& lw_user : GetLightUserList(uid))