1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 21:01:16 +02:00

sandbox: fix /bin/sh on catalina

Sadly 10.15 changed /bin/sh to a shim which executes bash, this means it
can't be used anymore without also opening up the sandbox to allow bash.

    Failed to exec /bin/bash as variant for /bin/sh (1: Operation not permitted).
This commit is contained in:
Daiderd Jordan 2020-03-20 22:12:30 +01:00
parent f6c122aaeb
commit 2e9bc1245c
No known key found for this signature in database
GPG key ID: D02435D05B810C96
2 changed files with 5 additions and 1 deletions

View file

@ -91,3 +91,7 @@
(literal "/etc")
(literal "/var")
(literal "/private/var/tmp"))
; This is used by /bin/sh on macOS 10.15 and later.
(allow file*
(literal "/private/var/select/sh"))