From 8985fccd776b4bc5a8afa33fcd84e4a8a6a530ec Mon Sep 17 00:00:00 2001 From: "sungwook79.park" Date: Tue, 5 Sep 2017 14:21:09 +0900 Subject: [PATCH] change daemon to non-root Change-Id: I84cab04c3e231fcc198bf8a9a027c3884cf7706a Signed-off-by: sungwook79.park --- packaging/org.tizen.smartreply.service | 1 + packaging/smartreply-service.spec | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packaging/org.tizen.smartreply.service b/packaging/org.tizen.smartreply.service index 11c0680..c559162 100755 --- a/packaging/org.tizen.smartreply.service +++ b/packaging/org.tizen.smartreply.service @@ -3,3 +3,4 @@ Name=org.tizen.smartreply Exec=/usr/bin/smartreplyd User=ui_fw Group=ui_fw +SmackProcessLabel=System \ No newline at end of file diff --git a/packaging/smartreply-service.spec b/packaging/smartreply-service.spec index ca14b15..e6440a3 100755 --- a/packaging/smartreply-service.spec +++ b/packaging/smartreply-service.spec @@ -110,19 +110,19 @@ systemctl daemon-reload %files %manifest packaging/%{name}.manifest -%defattr(-,ui_fw,ui_fw,-) +%defattr(-,root,root,-) %{_libdir}/libsmart-reply-engine-* %{_bindir}/* %{_datadir}/dbus-1/system-services/org.tizen.smartreply.service %{_datadir}/packages/*.xml %license LICENSE -%defattr(0755,system,system,-) +%defattr(0755,root,root,-) %{_datadir}/%{name}/* %config(noreplace) /opt/usr/data/smartreply-service %config(noreplace) /opt/usr/data/smartreply-service/honorific_ko_KR.db* %config(noreplace) /opt/usr/data/smartreply-service/personal_ko_KR.db* %config(noreplace) /opt/usr/data/smartreply-service/personal_en_US.db* -%defattr(0700,ui_fw,ui_fw,-) +%defattr(0755,root,root,-) /usr/system/RestoreDir/softreset/smartreply_softreset.sh -- 2.34.1