Because wrong path was given for security registration, the install of
user package was failed.
Change-Id: Ifb9c9e90ea801ee012988df1b123d7f606e856be
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
(cherry picked from commit
e5c99eeb064818818ea24294d55dcb89d234e0ca)
}
std::string error_message;
- if (!RegisterSecurityContextForPath(pkgid, path, uid, false,
+ if (!RegisterSecurityContextForPath(pkgid, path / pkgid, uid, false,
&error_message)) {
LOG(ERROR) << "Failed to register security context for path: " << path
<< ", error_message: " << error_message;