smack: set 'User::Home' smack label for multiuser 20/48320/1 accepted/tizen/mobile/20150920.232329 accepted/tizen/tv/20150920.232337 accepted/tizen/wearable/20150920.232354 submit/tizen/20150918.062932 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
authorSangjung Woo <sangjung.woo@samsung.com>
Fri, 18 Sep 2015 05:33:44 +0000 (14:33 +0900)
committerSangjung Woo <sangjung.woo@samsung.com>
Fri, 18 Sep 2015 05:33:44 +0000 (14:33 +0900)
In order to properly access to user specific files, the smack label that
is related with multiuser should have 'User::Home'.

Change-Id: I8c7845ae1acce673b6fb2b7b6998bf79df524bb6
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
packaging/tizen-platform-config.spec

index 13cf814..e3da692 100644 (file)
@@ -80,6 +80,9 @@ $TZ_USER_HOME
 $TZ_USER_APPROOT
 $TZ_USER_CONTENT
 $TZ_USER_DB
+$TZ_USER_PACKAGES
+$TZ_USER_ICONS
+$TZ_USER_APP
 
 SMACK User::App::Shared true
 $TZ_USER_CAMERA
@@ -99,11 +102,7 @@ $TZ_USER_APP/xwalk-service
 
 SMACK System::Shared true
 $TZ_USER_DESKTOP
-$TZ_USER_APP
-$TZ_USER_ICONS
 
-SMACK User false
-$TZ_USER_PACKAGES
 ENDOFCAT
 while read s1 s2 s3; do
   case "$s1" in