summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyoung Yun <jy910.yun@samsung.com>2015-04-03 19:09:22 +0900
committerJiyoung Yun <jy910.yun@samsung.com>2015-04-06 11:38:09 +0900
commiteae117631c02f38fc3359c1c0815ea7caeb08a6b (patch)
tree10327939abfb64477a34df4ea321d9c15281af72
parent451432aade897491698e5e6fe7d18cd00e28b718 (diff)
downloadtizen-platform-config-eae117631c02f38fc3359c1c0815ea7caeb08a6b.tar.gz
tizen-platform-config-eae117631c02f38fc3359c1c0815ea7caeb08a6b.tar.bz2
tizen-platform-config-eae117631c02f38fc3359c1c0815ea7caeb08a6b.zip
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
-rw-r--r--packaging/tizen-platform-config.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/tizen-platform-config.spec b/packaging/tizen-platform-config.spec
index 6aecd9a..bc0b551 100644
--- a/packaging/tizen-platform-config.spec
+++ b/packaging/tizen-platform-config.spec
@@ -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