summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeongwook Chung <seong.chung@samsung.com>2016-05-04 14:13:41 +0900
committerSeongwook Chung <seong.chung@samsung.com>2016-05-03 22:22:46 -0700
commit3c4cbb43901c9cc628ec56a93c207c5704bad312 (patch)
treea7bf0d68a057ccad386f0724bd67c5ebeb6cf139
parent27034d78a2c95c3074b8a7ea52af5bd1eefce3bf (diff)
downloadtizen-platform-config-3c4cbb43901c9cc628ec56a93c207c5704bad312.tar.gz
tizen-platform-config-3c4cbb43901c9cc628ec56a93c207c5704bad312.tar.bz2
tizen-platform-config-3c4cbb43901c9cc628ec56a93c207c5704bad312.zip
Since daemon running with "System" smack label needs to write/create file into /opt/etc in runtime, change smack label of /opt/etc/ from floor to "System::Shared" Only daemon running as "System" label can write file. (Accepted smack rule : System System::Shared rwxat) On the other hand, daemon running as "User" label cannot write, only can read. (Accepted smack rule : User System::Shared rxl) Change-Id: I950d3eee2504a7d0432d0063a206cea669febcd3 Signed-off-by: Seongwook Chung <seong.chung@samsung.com>
-rw-r--r--packaging/tizen-platform-config.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/tizen-platform-config.spec b/packaging/tizen-platform-config.spec
index e3bc223..91b51ed 100644
--- a/packaging/tizen-platform-config.spec
+++ b/packaging/tizen-platform-config.spec
@@ -117,6 +117,9 @@ $TZ_USER_APP/xwalk-service
SMACK System::Shared true
$TZ_USER_DESKTOP
+SMACK System::Shared false
+$TZ_SYS_ETC
+
ENDOFCAT
while read s1 s2 s3; do
case "$s1" in