diff options
author | Jiyoung Yun <jy910.yun@samsung.com> | 2015-04-03 19:09:22 +0900 |
---|---|---|
committer | Jiyoung Yun <jy910.yun@samsung.com> | 2015-04-06 11:38:09 +0900 |
commit | eae117631c02f38fc3359c1c0815ea7caeb08a6b (patch) | |
tree | 10327939abfb64477a34df4ea321d9c15281af72 | |
parent | 451432aade897491698e5e6fe7d18cd00e28b718 (diff) | |
download | tizen-platform-config-eae117631c02f38fc3359c1c0815ea7caeb08a6b.tar.gz tizen-platform-config-eae117631c02f38fc3359c1c0815ea7caeb08a6b.tar.bz2 tizen-platform-config-eae117631c02f38fc3359c1c0815ea7caeb08a6b.zip |
Create $TZ_SYS_STORAGE directorysubmit/tizen/20150407.043853accepted/tizen/wearable/20150408.013953accepted/tizen/tv/20150408.012733accepted/tizen/mobile/20150408.015905accepted/tizen/common/20150407.123320
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.spec | 4 |
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 |