summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjooseong.lee <jooseong.lee@samsung.com>2014-05-09 18:11:46 +0900
committerjooseong lee <jooseong.lee@samsung.com>2014-05-09 02:11:34 -0700
commit1e403446953ff33a1c33162e628f81b7ce81ad85 (patch)
tree9b25aac2b10342a9ea487ce76dd1fa5bc809b21c
parentb7d3b209e89a68b973cb03f8bf1ea4bc06fff99e (diff)
downloadfavorites-1e403446953ff33a1c33162e628f81b7ce81ad85.tar.gz
favorites-1e403446953ff33a1c33162e628f81b7ce81ad85.tar.bz2
favorites-1e403446953ff33a1c33162e628f81b7ce81ad85.zip
Modification about smack label of db file belong to process.
[Problem] Most db files have 'floor' label. Because these are created when binary is built. No process can write db (since 'floor' label allows only read and execute) [Solution] Modify smack label based on below condition and three domain model Condition1. Assign domain of process creates db files Condition2. Assign domain of process uses db files. Change-Id: Ie60e18902df75770ffe7517eaca65c024b77b8a9 Signed-off-by: jooseong.lee <jooseong.lee@samsung.com>
-rw-r--r--packaging/capi-web-favorites.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/capi-web-favorites.spec b/packaging/capi-web-favorites.spec
index 9355728..f82eb13 100644
--- a/packaging/capi-web-favorites.spec
+++ b/packaging/capi-web-favorites.spec
@@ -110,6 +110,9 @@ chmod 666 /opt/usr/dbspace/.browser-history.db-journal
chmod 666 /opt/usr/dbspace/.internet_bookmark.db
chmod 666 /opt/usr/dbspace/.internet_bookmark.db-journal
+chsmack -a 'User' /opt/usr/dbspace/.browser-history.db*
+chsmack -a 'User' /opt/usr/dbspace/.internet_bookmark.db*
+
# set default vconf values
##################################################
#internal keys