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
pull/702/head
Thomas Büttner 6 years ago committed by GitHub
parent 5ffea816a1
commit 559ecb2afc

@ -87,7 +87,8 @@ EOF
%{_libdir}/%{name}/*.so %{_libdir}/%{name}/*.so
%{_libdir}/%{name}/*.a %{_libdir}/%{name}/*.a
%{_libdir}/%{name}/createdump %{_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 %{_libdir}/%{name}/sosdocsunix.txt
%{_unitdir}/%{name}.service %{_unitdir}/%{name}.service
%{_libexecdir}/%{name}/restart.sh %{_libexecdir}/%{name}/restart.sh

Loading…
Cancel
Save