Fix permissions for the main binary.

The /usr/lib64/jellyfin/jellyfin binary has 0744 permission after build by dotnet so set explicit permission to 0755 in .spec
This commit is contained in:
Thomas Büttner 2019-01-11 20:06:08 +01:00 committed by GitHub
parent 5ffea816a1
commit 559ecb2afc

View File

@ -87,7 +87,8 @@ EOF
%{_libdir}/%{name}/*.so
%{_libdir}/%{name}/*.a
%{_libdir}/%{name}/createdump
%{_libdir}/%{name}/jellyfin
# Needs 755 else only root can run it since binary build by dotnet is 744
%attr(755,root,root) %{_libdir}/%{name}/jellyfin
%{_libdir}/%{name}/sosdocsunix.txt
%{_unitdir}/%{name}.service
%{_libexecdir}/%{name}/restart.sh