From d0a93015a9079c0c4b105b5d225b49b4f0ae1777 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 21 Jul 2021 15:45:00 +0000 Subject: [PATCH] core159: Fix permissions after extraction There seems to be a bug in tar (which should be gone by now), but on affected systems, we might need to reset directory permissions just in case. Signed-off-by: Michael Tremer Signed-off-by: Arne Fitzenreiter --- config/rootfiles/core/159/update.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config/rootfiles/core/159/update.sh b/config/rootfiles/core/159/update.sh index 9582c3ecee..89ce31111a 100644 --- a/config/rootfiles/core/159/update.sh +++ b/config/rootfiles/core/159/update.sh @@ -104,6 +104,15 @@ rm -rf /opt/pakfire/db/installed/meta-libstatgrab # Extract files extract_files +# Fix permissions just in case they broke again +chmod -v 755 \ + /usr \ + /usr/bin \ + /usr/lib \ + /usr/sbin \ + /var \ + /var/ipfire + # update linker config ldconfig -- 2.39.5