aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Büttner <thomas@vergesslicher.tech>2019-01-11 16:58:41 +0100
committerThomas Büttner <thomas@vergesslicher.tech>2019-01-11 16:58:41 +0100
commit40e509588e4fee3ab1e532c09dab839926c2b5e7 (patch)
tree3cbaf7d04ff81779b8e6323d19f1c67a359991b9
parentfa01c4f02e9c6ecc459eb719ecc96e9190cbe833 (diff)
Remove explicit permissions for files who don't need them.
Signed-off-by: Thomas Büttner <thomas@vergesslicher.tech>
-rw-r--r--rpm-package/jellyfin.spec24
1 files changed, 12 insertions, 12 deletions
diff --git a/rpm-package/jellyfin.spec b/rpm-package/jellyfin.spec
index f5b2b4b2a..9b16f13ab 100644
--- a/rpm-package/jellyfin.spec
+++ b/rpm-package/jellyfin.spec
@@ -75,23 +75,23 @@ EOF
%{__install} -D -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service
%{__install} -D -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/%{name}
%{__install} -D -m 0600 %{SOURCE3} %{buildroot}%{_sysconfdir}/sudoers.d/%{name}-sudoers
-%{__install} -D -m 0750 %{SOURCE4} %{buildroot}%{_libexecdir}/%{name}/restart.sh
+%{__install} -D -m 0755 %{SOURCE4} %{buildroot}%{_libexecdir}/%{name}/restart.sh
%{__install} -D -m 0755 %{SOURCE7} %{buildroot}%{_prefix}/lib/firewalld/service/%{name}.xml
%files
%{_libdir}/%{name}/dashboard-ui/*
%attr(755,root,root) %{_bindir}/%{name}
-%attr(644,root,root) %{_libdir}/%{name}/*.json
-%attr(644,root,root) %{_libdir}/%{name}/*.pdb
-%attr(755,root,root) %{_libdir}/%{name}/*.dll
-%attr(755,root,root) %{_libdir}/%{name}/*.so
-%attr(755,root,root) %{_libdir}/%{name}/*.a
-%attr(755,root,root) %{_libdir}/%{name}/createdump
-%attr(755,root,root) %{_libdir}/%{name}/jellyfin
-%attr(644,root,root) %{_libdir}/%{name}/sosdocsunix.txt
-%attr(644,root,root) %{_unitdir}/%{name}.service
-%attr(755,root,root) %{_libexecdir}/%{name}/restart.sh
-%attr(644,root,root) %{_prefix}/lib/firewalld/service/%{name}.xml
+%{_libdir}/%{name}/*.json
+%{_libdir}/%{name}/*.pdb
+%{_libdir}/%{name}/*.dll
+%{_libdir}/%{name}/*.so
+%{_libdir}/%{name}/*.a
+%{_libdir}/%{name}/createdump
+%{_libdir}/%{name}/jellyfin
+%{_libdir}/%{name}/sosdocsunix.txt
+%{_unitdir}/%{name}.service
+%{_libexecdir}/%{name}/restart.sh
+%{_prefix}/lib/firewalld/service/%{name}.xml
%attr(755,jellyfin,jellyfin) %dir %{_sysconfdir}/%{name}
%config %{_sysconfdir}/sysconfig/%{name}
%config(noreplace) %attr(600,root,root) %{_sysconfdir}/sudoers.d/%{name}-sudoers