[MacPorts] #55827: sandbox-exec: execvp() of 'sh' failed: No such file or directory

MacPorts noreply at macports.org
Tue Feb 20 00:03:43 UTC 2018


#55827: sandbox-exec: execvp() of 'sh' failed: No such file or directory
----------------------+------------------------
  Reporter:  orcioni  |      Owner:
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  base     |    Version:
Resolution:           |   Keywords:  highsierra
      Port:           |
----------------------+------------------------

Comment (by neverpanic):

 Please try

 {{{
 sandbox-exec -p '(version 1) (allow default) (deny file-write*)  (allow
 file-write-data (literal "/dev/null") (literal "/dev/zero")  (literal
 "/dev/dtracehelper") (literal "/dev/tty")  (literal "/dev/stdin") (literal
 "/dev/stdout") (literal "/dev/stderr")  (literal "/dev/random") (literal
 "/dev/urandom")  (regex #"^/dev/fd/")) (allow file-write*  (regex
 #"^(/private)?(/var)?/tmp/" #"^(/private)?/var/folders/"
 #"^(/private)?/var/db/mds/"))' sh -c true
 }}}

 on your system.

 Check Console.app for messages from `sandboxd` while you do this and
 provide these messages.

--
Ticket URL: <https://trac.macports.org/ticket/55827#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list