# Nixos-install with custom flake results in /boot being world accessible

**URL:** https://discourse.nixos.org/t/nixos-install-with-custom-flake-results-in-boot-being-world-accessible/34555
**Category:** Help
**Created:** [October 24, 2023, 11:07pm UTC](https://discourse.nixos.org/t/nixos-install-with-custom-flake-results-in-boot-being-world-accessible/34555 "2023-10-24T23:07:47Z")
**Posts on this page:** 1
**Showing post:** 16

<div class="post-metadata">

### Author: ![Gwyn](https://discourse.nixos.org/user_avatar/discourse.nixos.org/gwyn/32/11992_2.png) [@Gwyn](https://discourse.nixos.org/u/Gwyn)
#### Post date: [October 28, 2023, 5:19pm UTC](https://discourse.nixos.org/t/nixos-install-with-custom-flake-results-in-boot-being-world-accessible/34555/16 "2023-10-28T17:19:43Z")

</div>

Thanks for creating this post and thanks to the knowledgeable people who have responded.

I agree with adding a warning or some kind of notification.

Like you, I got this error message after (re)installing NixOS. After rebooting, however, my /boot directory is correctly owned by root. If I’m following this thread correctly, these corrected permissions mean that there’s not a persistent security hole.

I’m sure others like us will see this error message and panic a little at first until they find this thread or until an explanation is added to the installation process. 😅 So adding that notification is a great idea.

---

_[View the full topic](https://discourse.nixos.org/t/nixos-install-with-custom-flake-results-in-boot-being-world-accessible/34555)._
