From 27c0cff47ce310a6365ac97875ed6ed0e66fdb43 Mon Sep 17 00:00:00 2001 From: "Brian J. Murrell" Date: Tue, 16 Nov 2021 10:43:29 -0500 Subject: [PATCH] Remove chown -R root:root from specfile %install is run as non-root and as such, chown root is not allowed to be done it. The correct way of achieving a setting of ownership in RPM specfiles is to do it in the %files section(s). Signed-off-by: Brian J. Murrell --- fedora/jellyfin-web.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/fedora/jellyfin-web.spec b/fedora/jellyfin-web.spec index b97b88d5b..8e04b105a 100644 --- a/fedora/jellyfin-web.spec +++ b/fedora/jellyfin-web.spec @@ -27,7 +27,6 @@ Jellyfin is a free software media system that puts you in control of managing an %build %install -chown root:root -R . npm ci --no-audit --unsafe-perm %{__mkdir} -p %{buildroot}%{_datadir} mv dist %{buildroot}%{_datadir}/jellyfin-web