sandbox: allow file-write-setugid

This commit is contained in:
Bo Anderson 2022-06-10 14:21:18 +01:00
parent b40b73d0d8
commit 5c6160472b
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65

View File

@ -35,6 +35,7 @@ class Sandbox
def allow_write(path, options = {}) 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*", filter: path_filter(path, options[:type])
add_rule allow: true, operation: "file-write-setugid", filter: path_filter(path, options[:type])
end end
def deny_write(path, options = {}) def deny_write(path, options = {})