Skip to content

Commit

Permalink
nixos/etc-overlay: fix chmod call in activation script (#373712)
Browse files Browse the repository at this point in the history
  • Loading branch information
r-vdp authored Jan 14, 2025
2 parents 2f6a15c + e5b0c41 commit 6cacf1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nixos/modules/system/etc/etc.nix
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,10 @@ in
${lib.optionalString config.system.etc.overlay.mutable ''
# These directories are usually created in initrd,
# but we need to create them here when we didn't we're called directly,
# but we need to create them here when we're called directly,
# for instance by nixos-enter
mkdir --parents /.rw-etc/upper /.rw-etc/work
chmod --recursive 0755 /.rw-etc
chmod 0755 /.rw-etc /.rw-etc/upper /.rw-etc/work
''}
tmpMetadataMount=$(TMPDIR="/run" mktemp --directory -t nixos-etc-metadata.XXXXXXXXXX)
Expand Down

0 comments on commit 6cacf1e

Please sign in to comment.