From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH] core159: Fix permissions after extraction Date: Wed, 21 Jul 2021 15:45:00 +0000 Message-ID: <20210721154500.28431-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4741912609530326939==" List-Id: --===============4741912609530326939== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 --- 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 9582c3ece..89ce31111 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 =20 +# 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 =20 --=20 2.20.1 --===============4741912609530326939==--