summaryrefslogtreecommitdiffstats
path: root/redhat/extras/trinity-filesystem
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-10-04 22:33:28 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2014-10-04 22:33:28 +0200
commitb7783d0d16e835a101ace305fa950375ff1fe8b3 (patch)
tree4f135f07d46a7ddd3affb21602120dfcc93a5692 /redhat/extras/trinity-filesystem
parent590a0a29d970227623359f47604692fd1abadb97 (diff)
downloadtde-packaging-b7783d0d16e835a101ace305fa950375ff1fe8b3.tar.gz
tde-packaging-b7783d0d16e835a101ace305fa950375ff1fe8b3.zip
RPM Packaging: update trinity-filesystem
Diffstat (limited to 'redhat/extras/trinity-filesystem')
-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