core159: Fix permissions after extraction
Commit Message
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 <michael.tremer@ipfire.org>
---
config/rootfiles/core/159/update.sh | 9 +++++++++
1 file changed, 9 insertions(+)
@@ -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