Skip to content

Commit

Permalink
Merge pull request #12185 from NixOS/mergify/bp/2.24-maintenance/pr-1…
Browse files Browse the repository at this point in the history
…2016

Disable suid and atime on the /nix mount point on Darwin (backport #12016)
  • Loading branch information
edolstra authored Jan 10, 2025
2 parents 9a7196c + 56332fd commit f2bb7e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/create-darwin-volume.sh
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ EOF

EDITOR="$SCRATCH/ex_cleanroom_wrapper" _sudo "to add nix to fstab" "$@" <<EOF
:a
UUID=$uuid $escaped_mountpoint apfs rw,noauto,nobrowse,suid,owners
UUID=$uuid $escaped_mountpoint apfs rw,noauto,nobrowse,nosuid,noatime,owners
.
:x
EOF
Expand Down

0 comments on commit f2bb7e0

Please sign in to comment.