set proper attribute for db journal file 64/85864/1
authorKyeonghun Lee <kh9090.lee@samsung.com>
Mon, 29 Aug 2016 09:34:32 +0000 (18:34 +0900)
committerKyeonghun Lee <kh9090.lee@samsung.com>
Mon, 29 Aug 2016 09:34:32 +0000 (18:34 +0900)
Change-Id: I33516e21eebe387850c661edc8134b71b66da54e
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
500.msg-service.patch.sh
packaging/msg-service.spec

index 0517e5d..a97759a 100755 (executable)
@@ -25,7 +25,7 @@ vconftool set -t int "db/private/msg-service/read_report_sent_noti_id"  "0"
 
 # db
 chmod 640 /opt/usr/dbspace/.msg_service.db
-chmod 660 /opt/usr/dbspace/.msg_service.db-journal
+chmod 640 /opt/usr/dbspace/.msg_service.db-journal
 
 chown messaging:priv_message_read /opt/usr/dbspace/.msg_service.db
 chown messaging:priv_message_read /opt/usr/dbspace/.msg_service.db-journal
index c737d7c..3037f1a 100755 (executable)
@@ -209,7 +209,7 @@ touch %{buildroot}%{TZ_SYS_GLOBALUSER_DB}/.msg_service.db-journal
 /sbin/ldconfig
 
 chmod 640 %{TZ_SYS_GLOBALUSER_DB}/.msg_service.db
-chmod 660 %{TZ_SYS_GLOBALUSER_DB}/.msg_service.db-journal
+chmod 640 %{TZ_SYS_GLOBALUSER_DB}/.msg_service.db-journal
 
 mkdir -p -m 770 %{TZ_SYS_GLOBALUSER_DATA}/msg-service
 mkdir -p -m 750 %{TZ_SYS_GLOBALUSER_DATA}/msg-service/msgdata