mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03: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
Notes:
sideshowbarker
2024-07-17 21:11:12 +09:00
Author: https://github.com/BertalanD Commit: https://github.com/SerenityOS/serenity/commit/a25cc9619d Pull-request: https://github.com/SerenityOS/serenity/pull/12886 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/linusg ✅
@ -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 New Issue
Block a user