Change binary file mode 12/106012/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 tizen_3.0_tv accepted/tizen/3.0.m2/mobile/20170104.141553 accepted/tizen/3.0.m2/tv/20170104.142053 accepted/tizen/3.0.m2/wearable/20170104.142345 accepted/tizen/3.0/common/20161221.181213 accepted/tizen/3.0/ivi/20161221.010836 accepted/tizen/3.0/mobile/20161221.011347 accepted/tizen/3.0/tv/20161221.010615 accepted/tizen/3.0/wearable/20161221.010847 submit/tizen_3.0.m2/20170104.093751 submit/tizen_3.0/20161220.083138
authorYunmi Ha <yunmi.ha@samsung.com>
Tue, 20 Dec 2016 07:34:41 +0000 (16:34 +0900)
committerYunmi Ha <yunmi.ha@samsung.com>
Tue, 20 Dec 2016 07:34:41 +0000 (16:34 +0900)
tlm and tlm-sessiond binaries should be run as root.
(For managing opened user session)
Remove all permissions except root to prevent running as other users.

Change-Id: If21befb41733370648d56b0bae85d8c7fb9f8cf7
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
packaging/tlm.spec

index e8c849f..02d2dcf 100755 (executable)
@@ -205,7 +205,8 @@ install -m 644 data/tizen-ivi/etc/profile.d/* %{buildroot}%{_sysconfdir}/profile
 %endif
 install -m 644 data/tizen-common/etc/tlm*.conf %{buildroot}%{_sysconfdir}
 install -m 755 data/tizen-common/etc/session.d/* %{buildroot}%{_sysconfdir}/session.d/
-
+chmod 700 %{buildroot}%{_bindir}/%{name}
+chmod 700 %{buildroot}%{_bindir}/%{name}-sessiond
 
 %post
 /sbin/ldconfig