# Only apply host-side executable fix to binaries downloaded by the extension \(\#10318\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/8205c52d2bc204b8234f9306562d9000b1691857)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 8205c52d2bc204b8234f9306562d9000b1691857

Requested commit: 8205c52d2bc204b8234f9306562d9000b1691857

Commit: 8205c52d2bc204b8234f9306562d9000b1691857

Tree: 4d392f1a12a766a24b35cf91e16973c8537d247d

Author: Marshall Bowers

Committer: GitHub

## Message

```
Only apply host-side executable fix to binaries downloaded by the extension (#10318)

This PR makes it so our temporary host-side workaround for setting
certain language server binaries as executable only applies to binaries
that are downloaded by the extension.

Previously we would do this for any binary, including ones that could
have been sourced from the $PATH.

Release Notes:

- Fixed a file permissions issue when trying to use a Zig language
server (`zls`) present on the $PATH.
```

## Parents

- [4fb9f41e6954fe6b51faaae60dea955f133b9a7b](https://git.cafe/gitcafe/zed/commit/4fb9f41e6954fe6b51faaae60dea955f133b9a7b?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/8205c52d2bc204b8234f9306562d9000b1691857?format=markdown)
