Add integrated shared directory 72/210172/5
authorJunghyun Yeon <jungh.yeon@samsung.com>
Tue, 16 Jul 2019 10:36:59 +0000 (19:36 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Tue, 5 Nov 2019 08:58:21 +0000 (17:58 +0900)
Change-Id: I103b066d9bac7e735dda5f0e37c8be12d6cfff38
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
packaging/pkgmgr.spec

index 910da44..4f99ca3 100644 (file)
@@ -131,6 +131,15 @@ HOME="%{_sysconfdir}/skel"
 . "%{_sysconfdir}/tizen-platform.conf"
 
 chown %TZ_SYS_GLOBALAPP_USER:root $TZ_USER_APP
+
+# add .shared and .shared_tmp at skel
+mkdir -p $TZ_USER_APP/.shared
+mkdir -p $TZ_USER_APP/.shared_tmp
+chsmack -a User::Home $TZ_USER_APP/.shared
+chsmack -a User::Home $TZ_USER_APP/.shared_tmp
+chmod 755 $TZ_USER_APP/.shared
+chmod 755 $TZ_USER_APP/.shared_tmp
+
 HOME="$saveHOME"
 
 %post -n pkgmgr-client -p /sbin/ldconfig