From b7783d0d16e835a101ace305fa950375ff1fe8b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sat, 4 Oct 2014 22:33:28 +0200 Subject: RPM Packaging: update trinity-filesystem --- redhat/extras/trinity-filesystem/trinity-filesystem.spec | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'redhat/extras') diff --git a/redhat/extras/trinity-filesystem/trinity-filesystem.spec b/redhat/extras/trinity-filesystem/trinity-filesystem.spec index 4c2ec49b4..282561b98 100644 --- a/redhat/extras/trinity-filesystem/trinity-filesystem.spec +++ b/redhat/extras/trinity-filesystem/trinity-filesystem.spec @@ -166,6 +166,18 @@ This package installs the Trinity directory structure. %__install -d -m 755 %{?buildroot}%{_sysconfdir}/trinity %__install -d -m 755 %{?buildroot}%{_sysconfdir}/xdg/menus + +%post +%if 0%{?suse_version} +# Add setuid files in '/etc/permissions.local' +for b in fileshareset kgrantpty kpac_dhcp_helper start_tdeinit; do + if ! grep -q "^%{tde_bindir}/${b}" "/etc/permissions.local"; then + echo "%{tde_bindir}/${b} root:root 4711" >>/etc/permissions.local + fi +done +%endif + + %changelog * Mon Jun 03 2013 Francois Andriot - 14.0.0-1 - Initial build for TDE R14 -- cgit v1.2.1