mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:37:34 +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
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
Add a link
Reference in a new issue