Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## Unreleased

### Added

- Nix store access to the default sandbox

### Fixed

- Unclear error when running `phylum init` with an invalid organization
Expand Down
3 changes: 3 additions & 0 deletions cli/src/permissions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,9 @@ pub fn default_sandbox() -> SandboxResult<Birdcage> {
add_exception(&mut birdcage, Exception::ExecuteAndRead("/opt/homebrew".into()))?;
add_exception(&mut birdcage, Exception::ExecuteAndRead("/usr/local".into()))?;

// NixOS stores all system files under /nix/store.
add_exception(&mut birdcage, Exception::ExecuteAndRead("/nix/store".into()))?;

// Allow access to DNS list.
//
// While this is required to send DNS requests for network queries, this does
Expand Down
Loading