From: sungwook79.park Date: Tue, 5 Sep 2017 05:21:09 +0000 (+0900) Subject: change daemon to non-root X-Git-Tag: submit/tizen/20170905.084137~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F99%2F147599%2F3;p=platform%2Fcore%2Fuifw%2Fsmartreply-service.git change daemon to non-root Change-Id: I84cab04c3e231fcc198bf8a9a027c3884cf7706a Signed-off-by: sungwook79.park --- 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