Commit b99dad05 authored by Eloy Durán's avatar Eloy Durán

[Sandbox] Allow reads on `/`.

This is required by `xcodebuild` when it builds a resource bundle
target. I have no idea why it needs to do that...
parent be7e5888
...@@ -84,6 +84,10 @@ __END__ ...@@ -84,6 +84,10 @@ __END__
(allow file-read-metadata) (allow file-read-metadata)
(allow file-read* (allow file-read*
; This is currenly only added because using `xcodebuild` to build a resource
; bundle target starts a FSEvents stream on `/`. No idea why that would be
; needed, but for now it doesn’t seem like a real problem.
(literal "/")
(regex (regex
; TODO see if we can restrict this more, but it's going to be hard ; TODO see if we can restrict this more, but it's going to be hard
#"^/Users/[^.]+/*" #"^/Users/[^.]+/*"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment