From: Michael Tremer Date: Wed, 21 Jul 2021 15:45:00 +0000 (+0000) Subject: core159: Fix permissions after extraction X-Git-Tag: v2.27-core159~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d0a93015a9079c0c4b105b5d225b49b4f0ae1777;p=ipfire-2.x.git 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 --- 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