summaryrefslogtreecommitdiffstats
path: root/redhat/extras
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/extras')
-rw-r--r--redhat/extras/trinity-filesystem/trinity-filesystem.spec12
1 files changed, 12 insertions, 0 deletions
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 <francois.andriot@free.fr> - 14.0.0-1
- Initial build for TDE R14