mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 01:41:59 -05: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
|
||||
/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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue