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) {
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);
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 = {
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))