Merge pull request #13404 from Bo98/sandbox-ugid

sandbox: allow file-write-setugid
This commit is contained in:
Bo Anderson 2022-06-10 20:11:24 +01:00 committed by GitHub
commit 492ac6f771
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = {})