aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/test.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/test.rb b/Library/Homebrew/cmd/test.rb
index e6b0aa297..fb2c80f7f 100644
--- a/Library/Homebrew/cmd/test.rb
+++ b/Library/Homebrew/cmd/test.rb
@@ -56,6 +56,9 @@ module Homebrew
sandbox.allow_write_temp_and_cache
sandbox.allow_write_log(f)
sandbox.allow_write_xcode
+ sandbox.allow_write_path(HOMEBREW_PREFIX/"var/cache")
+ sandbox.allow_write_path(HOMEBREW_PREFIX/"var/log")
+ sandbox.allow_write_path(HOMEBREW_PREFIX/"var/run")
sandbox.exec(*args)
else
exec(*args)