mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
build-root-filesystem: Explicitly add +rX for group and others to copied files.
This lets Serenity boot even when the repository is cloned with a umask of 027.
This commit is contained in:
parent
309a91847f
commit
7675812efd
Notes:
sideshowbarker
2024-07-19 05:49:33 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/7675812efd4 Pull-request: https://github.com/SerenityOS/serenity/pull/2505
1 changed files with 4 additions and 0 deletions
|
@ -26,6 +26,10 @@ umask 0022
|
|||
printf "installing base system... "
|
||||
cp -R "$SERENITY_ROOT"/Base/* mnt/
|
||||
cp -R Root/* mnt/
|
||||
# If umask was 027 or similar when the repo was cloned,
|
||||
# file permissions in Base/ are too restrictive. Restore
|
||||
# the permissions needed in the image.
|
||||
chmod -R g+rX,o+rX "$SERENITY_ROOT"/Base/* mnt/
|
||||
chmod 400 mnt/res/kernel.map
|
||||
|
||||
chmod 660 mnt/etc/WindowServer/WindowServer.ini
|
||||
|
|
Loading…
Add table
Reference in a new issue