Fix light user directory path 16/277116/4
authorIlho Kim <ilho159.kim@samsung.com>
Fri, 1 Jul 2022 01:39:03 +0000 (10:39 +0900)
committerilho kim <ilho159.kim@samsung.com>
Tue, 12 Jul 2022 00:30:52 +0000 (00:30 +0000)
Change from "subsessions" to "subsession"

Change-Id: I833940b590955e6f17f1e68faeb6b0070fb0a967
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
src/common/shared_dirs.cc
src/common/step/filesystem/step_recover_change_owner.cc
src/common/step/filesystem/step_remove_files.cc
src/common/step/filesystem/step_remove_user_data.cc

index 982bcde..d9379b9 100644 (file)
@@ -83,7 +83,7 @@ const char kSkelAppDir[] = "skel/apps_rw";
 const char kExternalStoragePrivilege[] =
     "http://tizen.org/privilege/externalstorage.appdata";
 const char kSystemShareGroupName[] = "system_share";
-const char kSubssesionDir[] = "subsessions";
+const char kSubssesionDir[] = "subsession";
 // the input path should be root directory of package.
 // for example: "../apps_rw/pkgid" or "../.shared/pkgid"
 bool SetPackageDirectoryOwnerAndPermissions(const bf::path& path, uid_t uid) {
index ec7952a..e486db6 100644 (file)
@@ -35,7 +35,7 @@ const char kData[] = "data";
 const char kShared[] = ".shared";
 const char kSharedTmp[] = ".shared_tmp";
 const char kSystemShareGroupName[] = "system_share";
-const char kSubssesionDir[] = "subsessions";
+const char kSubssesionDir[] = "subsession";
 const uid_t kGlobalUserUid = tzplatform_getuid(TZ_SYS_GLOBALAPP_USER);
 const gid_t kGlobalUserGid = tzplatform_getgid(TZ_SYS_GLOBALAPP_USER);
 
index e32943a..f8ffe97 100644 (file)
@@ -24,7 +24,7 @@ namespace bf = boost::filesystem;
 namespace {
 
 const uid_t kGlobalUserUid = tzplatform_getuid(TZ_SYS_GLOBALAPP_USER);
-const char kSubsesionDir[] = "subsessions";
+const char kSubsesionDir[] = "subsession";
 
 bool SkipRWDirectories(const bf::path& path) {
   static const std::vector<std::string> dirs_to_ignore = {
index 83e0c6c..d4b310c 100644 (file)
@@ -21,7 +21,7 @@ namespace {
 const char kDataDir[] = "data";
 const char kCacheDir[] = "cache";
 const char kSharedDir[] = ".shared";
-const char kSubssesionDir[] = "subsessions";
+const char kSubssesionDir[] = "subsession";
 
 bool RemoveContents(const bf::path& path) {
   if (!bf::exists(path))