aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2016-09-22 05:11:41 +0100
committerDominyk Tiller2016-09-22 05:11:41 +0100
commit3bbf62f37ac205cf4c1460049f3a6aab67862615 (patch)
tree472efbee0475739daac2313af70011e65fe44700 /Library
parentc7d75bffeb05662a42be67f4710e2e52a6f8d1c2 (diff)
downloadbrew-3bbf62f37ac205cf4c1460049f3a6aab67862615.tar.bz2
sandbox: loosen restriction around Xcode caching
It doesn't really need to be as tight as it is currently, certainly outside brew you can write to here without any special privileges beside being the user, and being so can tight can cause issues on clean systems or systems where Xcode hasn't been used before as exposed by https://github.com/Homebrew/homebrew-core/issues/4892. Closes https://github.com/Homebrew/homebrew-core/issues/4892.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/sandbox.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/sandbox.rb b/Library/Homebrew/sandbox.rb
index 0d313b9f9..a7fc99d4a 100644
--- a/Library/Homebrew/sandbox.rb
+++ b/Library/Homebrew/sandbox.rb
@@ -77,7 +77,7 @@ class Sandbox
# Xcode projects expect access to certain cache/archive dirs.
def allow_write_xcode
- allow_write_path "/Users/#{ENV["USER"]}/Library/Developer/Xcode/DerivedData/"
+ allow_write_path "/Users/#{ENV["USER"]}/Library/Developer"
end
def allow_write_log(formula)