diff options
Diffstat (limited to 'Library/Homebrew/formula_installer.rb')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 32b61072d..ff9d6b0af 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -474,7 +474,10 @@ class FormulaInstaller Utils.safe_fork do if Sandbox.available? && ARGV.sandbox? - sandbox = Sandbox.new(formula) + sandbox = Sandbox.new + sandbox.allow_write_temp_and_cache + sandbox.allow_write_log(formula) + sandbox.allow_write_cellar(formula) sandbox.exec(*args) else exec(*args) |
