Base+Meta: Make /usr/local read-write

This directory has to be writable if we want to install ports that have
been built inside Serenity. It's owned by root anyway, so having it be
read-only does not provide many security benefits.
This commit is contained in:
Daniel Bertalan 2022-02-25 20:45:29 +01:00 committed by Linus Groh
parent 4f89f47acb
commit a25cc9619d
Notes: sideshowbarker 2024-07-17 21:11:12 +09:00
2 changed files with 2 additions and 1 deletions

View File

@ -9,5 +9,6 @@
/var /var bind bind,nodev,nosuid
/www /www bind bind,nodev,nosuid
/usr/Tests /usr/Tests bind bind,nodev,ro
/usr/local /usr/local bind bind,nodev,nosuid
none /tmp tmp nodev,nosuid

View File

@ -122,7 +122,7 @@ chmod 755 mnt/res/devel/templates/*.postcreate
echo "done"
printf "creating initial filesystem structure... "
for dir in bin etc proc mnt tmp boot mod var/run; do
for dir in bin etc proc mnt tmp boot mod var/run usr/local; do
mkdir -p mnt/$dir
done
chmod 700 mnt/boot