Skip to content

Commit ab5a9cf

Browse files
authored
Merge pull request NixOS#12016 from grahamc/patch-2
Disable suid and atime on the /nix mount point on Darwin
2 parents a7cdb55 + 4137ead commit ab5a9cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/create-darwin-volume.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ EOF
463463

464464
EDITOR="$SCRATCH/ex_cleanroom_wrapper" _sudo "to add nix to fstab" "$@" <<EOF
465465
:a
466-
UUID=$uuid $escaped_mountpoint apfs rw,noauto,nobrowse,suid,owners
466+
UUID=$uuid $escaped_mountpoint apfs rw,noauto,nobrowse,nosuid,noatime,owners
467467
.
468468
:x
469469
EOF

0 commit comments

Comments
 (0)