Fix Mount Installation Failure 48/123948/1
authorjongmyeongko <jongmyeong.ko@samsung.com>
Sat, 8 Apr 2017 06:50:14 +0000 (15:50 +0900)
committerjongmyeongko <jongmyeong.ko@samsung.com>
Sat, 8 Apr 2017 06:50:14 +0000 (15:50 +0900)
Requires :
https://review.tizen.org/gerrit/#/c/123947/

Change-Id: I5afbb796b8287f3a5c33d5c6e576cac96890854c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
src/tpk/tpk_installer.cc

index b4b90876a55a5fff1fd3a70dce44d21937f74672..afadd70f0c700e712ccb63035d84919eeb323ea9 100644 (file)
@@ -413,7 +413,7 @@ void TpkInstaller::MountInstallSteps() {
   AddStep<ci::pkgmgr::StepRunParserPlugin>(
       ci::Plugin::ActionType::Install);
   AddStep<ci::filesystem::StepCreatePerUserStorageDirectories>();
-  AddStep<ci::filesystem::StepChangeOwnershipAndPermission>();
+  AddStep<ci::filesystem::StepChangeOwnershipAndPermission>(true);
   AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
 }
 
@@ -451,7 +451,7 @@ void TpkInstaller::MountUpdateSteps() {
   AddStep<tpk::pkgmgr::StepManifestAdjustment>();
   AddStep<ci::pkgmgr::StepUpdateApplication>();
   AddStep<ci::pkgmgr::StepRunParserPlugin>(ci::Plugin::ActionType::Upgrade);
-  AddStep<ci::filesystem::StepChangeOwnershipAndPermission>();
+  AddStep<ci::filesystem::StepChangeOwnershipAndPermission>(true);
   AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
 }