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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Added

- Nix store access to the default sandbox
- Mac OS's Library/Java/JavaVirtualMachines paths to the dependency parsing sandbox

### Fixed

Expand Down
8 changes: 8 additions & 0 deletions cli/src/commands/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,14 @@ fn depfile_parsing_sandbox(canonical_manifest_path: &Path) -> Result<Birdcage> {
&mut birdcage,
Exception::ExecuteAndRead("/etc/alternatives".into()),
)?;
permissions::add_exception(
&mut birdcage,
Exception::ExecuteAndRead("/Library/Java/JavaVirtualMachines".into()),
)?;
permissions::add_exception(
&mut birdcage,
Exception::ExecuteAndRead(home.join("Library/Java/JavaVirtualMachines")),
)?;
permissions::add_exception(&mut birdcage, Exception::ExecuteAndRead("/etc/maven".into()))?;
for jdk_path in jdk_paths()? {
permissions::add_exception(&mut birdcage, Exception::Read(jdk_path))?;
Expand Down
Loading