Skip to content
Snippets Groups Projects
Commit 76a5ba6a authored by Xu Cheng's avatar Xu Cheng
Browse files

test: allow writing to certain var directories


Closes Homebrew/homebrew#44458.

Closes Homebrew/homebrew#44773.

Signed-off-by: default avatarXu Cheng <xucheng@me.com>
parent 52de8d93
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment