mirror of
				https://github.com/wazuh/wazuh-docker.git
				synced 2025-11-04 05:53:16 +00:00 
			
		
		
		
	@@ -258,10 +258,10 @@ main() {
 | 
			
		||||
  # Grant proper permissions
 | 
			
		||||
  # When modifiying some files using the Wazuh API (i.e. /var/ossec/etc/ossec.conf), group rw permissions are needed for changes to take place.  
 | 
			
		||||
  # https://github.com/wazuh/wazuh/issues/3647
 | 
			
		||||
  chmod -R g+rw ${WAZUH_INSTALL_PATH}
 | 
			
		||||
  #chmod -R g+rw ${WAZUH_INSTALL_PATH}
 | 
			
		||||
  
 | 
			
		||||
  # Files inside /var/ossec/integrations should not have write permissions for group and other.
 | 
			
		||||
  chmod -R 750 "/var/ossec/integrations/"
 | 
			
		||||
  #chmod -R 750 "/var/ossec/integrations/"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
main
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user