sandbox: allow file-write-setugid
This commit is contained in:
		
							parent
							
								
									b40b73d0d8
								
							
						
					
					
						commit
						5c6160472b
					
				@ -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 = {})
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user