From f74e3fad1948b0cfcc9710c70b9c9db1489f976f Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Sat, 7 Mar 2026 19:37:18 +0100 Subject: [PATCH 1/3] Make home directories 700 instead of 777 --- src/installer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/installer.rs b/src/installer.rs index 83934717fe..4e077a92d0 100644 --- a/src/installer.rs +++ b/src/installer.rs @@ -200,7 +200,7 @@ pub fn install_dir( println!("\tShell: {shell}"); FileConfig::new_directory(home.clone()) - .with_recursive_mod(0o777, uid, gid) + .with_recursive_mod(0o700, uid, gid) .create(&output_dir)?; if uid >= 1000 { From f691afababb0b62d7422eaf394a025ef48916573 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Wed, 11 Mar 2026 20:31:03 +0100 Subject: [PATCH 2/3] Fix usage message --- src/bin/installer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/installer.rs b/src/bin/installer.rs index 14f4d8fc79..c3ce487d2e 100644 --- a/src/bin/installer.rs +++ b/src/bin/installer.rs @@ -19,7 +19,7 @@ Using redox_installer as an installer: redox_installer [--config=file.toml] [--write-bootloader=file.img] [--live] [--no-mount] [--skip-partition] Disk file to write --config Path to filesystem config TOML - --write-bootloader Path to write separate EFI partition + --write-bootloader Path to write UEFI bootloader to in addition to the embedded ESP --skip-partition Skip writing GPT partition tables Use this only if you plan to use other partition tool --live Use bootloader configured for live disk From 474ff084314b32b5397753d15c852ba251b91f26 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Wed, 11 Mar 2026 20:53:46 +0100 Subject: [PATCH 3/3] Fix bootloader location --- src/bin/installer_tui.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/installer_tui.rs b/src/bin/installer_tui.rs index b1c91a62df..2739983c41 100644 --- a/src/bin/installer_tui.rs +++ b/src/bin/installer_tui.rs @@ -275,7 +275,7 @@ fn main() { let instant = std::time::Instant::now(); let bootloader_bios = { - let path = root_path.join("boot").join("bootloader.bios"); + let path = root_path.join("usr/lib/boot/bootloader.bios"); if path.exists() { match fs::read(&path) { Ok(ok) => ok, @@ -294,7 +294,7 @@ fn main() { }; let bootloader_efi = { - let path = root_path.join("boot").join("bootloader.efi"); + let path = root_path.join("usr/lib/boot/bootloader.efi"); if path.exists() { match fs::read(&path) { Ok(ok) => ok,