#include <common/step/configuration/step_parse_preload.h>
#include <common/step/filesystem/step_acquire_external_storage.h>
#include <common/step/filesystem/step_clear_data.h>
+#include <common/step/filesystem/step_change_owner.h>
#include <common/step/filesystem/step_copy.h>
#include <common/step/filesystem/step_copy_storage_directories.h>
#include <common/step/filesystem/step_copy_tep.h>
AddStep<ci::pkgmgr::StepRegisterApplication>();
AddStep<ci::security::StepRegisterSecurity>();
AddStep<ci::filesystem::StepCreatePerUserStorageDirectories>();
+ AddStep<ci::filesystem::StepChangeOwner>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
break;
case ci::RequestType::Update:
AddStep<ci::pkgmgr::StepUpdateApplication>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Upgrade);
+ AddStep<ci::filesystem::StepChangeOwner>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
break;
case ci::RequestType::Uninstall:
AddStep<ci::pkgmgr::StepUpdateApplication>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Upgrade);
+ AddStep<ci::filesystem::StepChangeOwner>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
break;
case ci::RequestType::Recovery:
AddStep<ci::pkgmgr::StepRegisterApplication>();
AddStep<ci::security::StepRegisterSecurity>();
AddStep<ci::filesystem::StepCreatePerUserStorageDirectories>();
+ AddStep<ci::filesystem::StepChangeOwner>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
break;
case ci::RequestType::MountUpdate:
AddStep<ci::pkgmgr::StepUpdateApplication>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Upgrade);
+ AddStep<ci::filesystem::StepChangeOwner>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
break;
case ci::RequestType::ManifestDirectInstall:
AddStep<ci::pkgmgr::StepRegisterApplication>();
AddStep<ci::security::StepRegisterSecurity>();
AddStep<ci::filesystem::StepCreatePerUserStorageDirectories>();
+ AddStep<ci::filesystem::StepChangeOwner>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
break;
case ci::RequestType::ManifestDirectUpdate:
AddStep<ci::pkgmgr::StepUpdateApplication>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Upgrade);
+ AddStep<ci::filesystem::StepChangeOwner>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
break;
case ci::RequestType::EnablePkg: