Create $TZ_SYS_STORAGE directory 50/37750/3 accepted/tizen/common/20150407.123320 accepted/tizen/mobile/20150408.015905 accepted/tizen/tv/20150408.012733 accepted/tizen/wearable/20150408.013953 submit/tizen/20150407.043853
authorJiyoung Yun <jy910.yun@samsung.com>
Fri, 3 Apr 2015 10:09:22 +0000 (19:09 +0900)
committerJiyoung Yun <jy910.yun@samsung.com>
Mon, 6 Apr 2015 02:38:09 +0000 (11:38 +0900)
The mode of the directory is 777 and smack label is 'System::Shared'.
SMACK will restrain the access of others.

Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Change-Id: I2a90bf2a3a221ea7c21feeb3dc4f5b2dc51290a6

packaging/tizen-platform-config.spec

index 6aecd9a2c980777026dc05e805b7ab5f2bc54c83..bc0b55180c527296d799d2f770471db1dd8a6aa4 100644 (file)
@@ -97,6 +97,10 @@ HOME="$saveHOME"
 # END - creation of the /etc/skel/content
 ##############################################
 
+mkdir -p $TZ_SYS_STORAGE
+chsmack -a 'System::Shared' -t $TZ_SYS_STORAGE
+chmod 777 $TZ_SYS_STORAGE
+
 %post -n %{libname} -p /sbin/ldconfig
 
 %postun -n %{libname} -p /sbin/ldconfig