From fdd6ad659885d68fbd8c721268b08e9edada23b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 5 Oct 2014 12:15:36 +0200 Subject: RPM Packaging: update fileshareset --- redhat/extras/fileshareset/fileshareset.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'redhat/extras/fileshareset') diff --git a/redhat/extras/fileshareset/fileshareset.spec b/redhat/extras/fileshareset/fileshareset.spec index 6f76b549f..3e7b5ca41 100644 --- a/redhat/extras/fileshareset/fileshareset.spec +++ b/redhat/extras/fileshareset/fileshareset.spec @@ -92,10 +92,16 @@ echo "RESTRICT=yes" > "${RPM_BUILD_ROOT}%{_sysconfdir}/security/fileshare.conf" %files %defattr(-,root,root,-) %{_bindir}/filesharelist -%verify(not mode) %{_bindir}/fileshareset %{_mandir}/man8/fileshareset.8* %config(noreplace) %{_sysconfdir}/security/fileshare.conf +# Setuid program +%if 0%{?suse_version} +%verify(not mode) %{_bindir}/fileshareset +%else +%attr(4755,root,root) %{tde_bindir}/fileshareset +%endif + %if 0%{?suse_version} # Check permissions on setuid files (openSUSE specific) -- cgit v1.2.1