Fix Mount Installation Failure 42/124242/1
authorjongmyeongko <jongmyeong.ko@samsung.com>
Sat, 8 Apr 2017 06:50:14 +0000 (15:50 +0900)
committerjongmyeong ko <jongmyeong.ko@samsung.com>
Tue, 11 Apr 2017 02:13:35 +0000 (19:13 -0700)
Requires :
https://review.tizen.org/gerrit/#/c/123947/

Change-Id: I5afbb796b8287f3a5c33d5c6e576cac96890854c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
(cherry picked from commit f5f78a937741588fa21e11d203cf6706e8af2157)

src/tpk/tpk_installer.cc

index 0077822a35b454ce143733e2cb6f39de2f560fa7..49f608ec2a422e35057c98f49727f217a475b5bf 100644 (file)
@@ -415,7 +415,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>();
 }
 
@@ -453,7 +453,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>();
 }