From 5c6160472b10df6c0cc1fb250555f0fab0e3ab62 Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Fri, 10 Jun 2022 14:21:18 +0100 Subject: [PATCH] sandbox: allow file-write-setugid --- Library/Homebrew/sandbox.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/sandbox.rb b/Library/Homebrew/sandbox.rb index 7d79ad04bd..f601b801c5 100644 --- a/Library/Homebrew/sandbox.rb +++ b/Library/Homebrew/sandbox.rb @@ -35,6 +35,7 @@ class Sandbox def allow_write(path, options = {}) add_rule allow: true, operation: "file-write*", filter: path_filter(path, options[:type]) + add_rule allow: true, operation: "file-write-setugid", filter: path_filter(path, options[:type]) end def deny_write(path, options = {})