mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 21:58:10 +00:00
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:
parent
4f89f47acb
commit
a25cc9619d
2 changed files with 2 additions and 1 deletions
|
@ -9,5 +9,6 @@
|
||||||
/var /var bind bind,nodev,nosuid
|
/var /var bind bind,nodev,nosuid
|
||||||
/www /www bind bind,nodev,nosuid
|
/www /www bind bind,nodev,nosuid
|
||||||
/usr/Tests /usr/Tests bind bind,nodev,ro
|
/usr/Tests /usr/Tests bind bind,nodev,ro
|
||||||
|
/usr/local /usr/local bind bind,nodev,nosuid
|
||||||
|
|
||||||
none /tmp tmp nodev,nosuid
|
none /tmp tmp nodev,nosuid
|
||||||
|
|
|
@ -122,7 +122,7 @@ chmod 755 mnt/res/devel/templates/*.postcreate
|
||||||
echo "done"
|
echo "done"
|
||||||
|
|
||||||
printf "creating initial filesystem structure... "
|
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
|
mkdir -p mnt/$dir
|
||||||
done
|
done
|
||||||
chmod 700 mnt/boot
|
chmod 700 mnt/boot
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue