# Open non-writeable files in Capability::Read mode \(\#57202\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 60314a74163e86f5a931efec31f37cfea5ce1f3a

Requested commit: 60314a74163e86f5a931efec31f37cfea5ce1f3a

Commit: 60314a74163e86f5a931efec31f37cfea5ce1f3a

Tree: f3a96519de410d64ecda73f854c0588701638d23

Author: David Wu

Committer: GitHub

## Message

```
Open non-writeable files in Capability::Read mode (#57202)

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Closes #57174

Release Notes:

- Open non-writeable files in Capability::Read mode

Co-authored-by: Lukas Wirth <lukas@zed.dev>
```

## Parents

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

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