mirror of
				https://github.com/wazuh/wazuh-docker.git
				synced 2025-11-04 05:53:16 +00:00 
			
		
		
		
	Permissions rw for group added (#206)
This commit is contained in:
		
				
					committed by
					
						
						Jesús Linares
					
				
			
			
				
	
			
			
			
						parent
						
							15dbd60605
						
					
				
				
					commit
					c9ed007771
				
			@@ -251,6 +251,11 @@ main() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  # Delete temporary data folder
 | 
					  # Delete temporary data folder
 | 
				
			||||||
  rm -rf ${WAZUH_INSTALL_PATH}/data_tmp
 | 
					  rm -rf ${WAZUH_INSTALL_PATH}/data_tmp
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  # 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}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
main
 | 
					main
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user