diff options
author | François Andriot <albator78@libertysurf.fr> | 2014-10-05 12:15:36 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2014-10-05 12:15:36 +0200 |
commit | fdd6ad659885d68fbd8c721268b08e9edada23b4 (patch) | |
tree | c50d41c8bc778acbd3a9c8c5a6582152f03e5300 /redhat/extras | |
parent | 2d0735da96fb5967d3cf9a3515b5e9481f928d33 (diff) | |
download | tde-packaging-fdd6ad659885d68fbd8c721268b08e9edada23b4.tar.gz tde-packaging-fdd6ad659885d68fbd8c721268b08e9edada23b4.zip |
RPM Packaging: update fileshareset
Diffstat (limited to 'redhat/extras')
-rw-r--r-- | redhat/extras/fileshareset/fileshareset.spec | 8 |
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) |