summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorjooseong.lee <jooseong.lee@samsung.com>2014-05-10 13:34:58 +0900
committerjooseong lee <jooseong.lee@samsung.com>2014-05-09 21:41:24 -0700
commit2fc5350c7fea85e655c035f08258f0b9f8cc3767 (patch)
tree2a1d0934f9c63d24e798e92d09c201c82b4b84a7 /scripts
parentaceb92fd74c7da58c7c7b5c36e0cb7fa202ff4fc (diff)
downloadmeta-mobile-2fc5350c7fea85e655c035f08258f0b9f8cc3767.tar.gz
meta-mobile-2fc5350c7fea85e655c035f08258f0b9f8cc3767.tar.bz2
meta-mobile-2fc5350c7fea85e655c035f08258f0b9f8cc3767.zip
Modification about smack label of vconf files.
[Problem] Most vconf files have 'floor' label. Because these are created during image creation time. Therefore no process can write vconf files (since 'floor' label allows only read and execute) [Solution] Change smack label from 'floor' to 'User' Change-Id: Icd3aea438d1676183d773b0a1f86e94957fa4d34 Signed-off-by: jooseong.lee <jooseong.lee@samsung.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/handset-rd-pq.post3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/handset-rd-pq.post b/scripts/handset-rd-pq.post
index 3009a40..d055ede 100644
--- a/scripts/handset-rd-pq.post
+++ b/scripts/handset-rd-pq.post
@@ -10,3 +10,6 @@ EOF
# Since applications runs with the "User" label, the app
# home dir must have the same label
chsmack -a User /opt/home/app
+
+# vconf should have 'User' label.
+find /opt/var/kdb | xargs chsmack -a 'User'