summaryrefslogtreecommitdiffstats
path: root/redhat/extras
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/extras')
-rw-r--r--redhat/extras/fileshareset/fileshareset.spec8
1 files changed, 7 insertions, 1 deletions
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)