Go fork/exec permission denied error

后端 未结 5 1816
终归单人心
终归单人心 2021-01-04 10:09

I recently installed Go onto our server with CentOS 6.3. The install appears to have gone fine. However I made a test \"hello world\" script, and when I run I get the foll

5条回答
  •  [愿得一人]
    2021-01-04 10:41

    I am using Fedora 31 and got a similar error which brought me here. I could not run the Go debugger used by Jetbrains IntelliJ Ultimate/GoLand without fork/exec & permission denied error. The solution was this:

    setsebool deny_ptrace 0
    

    See https://fedoraproject.org/wiki/Features/SELinuxDenyPtrace for details.

提交回复
热议问题