# Fork/exec ... operation not permitted

**URL:** <https://forum.buildkite.community/t/fork-exec-operation-not-permitted/3703>\
**Category:** General\
**Created:** [May 23, 2024, 2:08am UTC](https://forum.buildkite.community/t/fork-exec-operation-not-permitted/3703 "2024-05-23T02:08:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chengpan](https://avatars.discourse-cdn.com/v4/letter/c/6f9a4e/32.png) [@chengpan](https://forum.buildkite.community/u/chengpan)\
**Post date:** [May 23, 2024, 2:08am UTC](https://forum.buildkite.community/t/fork-exec-operation-not-permitted/3703/1 "2024-05-23T02:08:16Z")

</div>

In the past months, I was working on tracking down a bug caused by the dependency PTY package that the Buildkite agent depends on. The symptom is the BK job randomly failed with following error message:

```auto
Fork/exec ... operation not permitted

```

The Buildkite support is really useful to help me pin down the issue. Just sharing the finding in my post [here](https://dev.to/a1ex/buildkite-agent-bug-forkexec-operation-not-permitted-2d08). Hope it will be useful to you as well.

---

<div class="post-metadata">

**Author:** ![benmc](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/benmc/32/1159_2.png) [@benmc](https://forum.buildkite.community/u/benmc)\
**Post date:** [May 23, 2024, 2:11am UTC](https://forum.buildkite.community/t/fork-exec-operation-not-permitted/3703/2 "2024-05-23T02:11:33Z")

</div>

Hey @chengpan!

Thanks for sharing your findings. Hopefully this proves helpful to any future travellers who see the same issue.

Cheers! 💚
