mirror of
				https://github.com/wazuh/wazuh-docker.git
				synced 2025-11-03 21:43:17 +00:00 
			
		
		
		
	Fixing Wazuh indexer files permissions
This commit is contained in:
		@@ -135,4 +135,10 @@ sed '/-Xms/d' -i ${TARGET_DIR}${CONFIG_DIR}/jvm.options
 | 
				
			|||||||
sed '/-Xmx/d' -i ${TARGET_DIR}${CONFIG_DIR}/jvm.options
 | 
					sed '/-Xmx/d' -i ${TARGET_DIR}${CONFIG_DIR}/jvm.options
 | 
				
			||||||
 | 
					
 | 
				
			||||||
chmod -R 500 ${TARGET_DIR}${CONFIG_DIR}/certs
 | 
					chmod -R 500 ${TARGET_DIR}${CONFIG_DIR}/certs
 | 
				
			||||||
chmod -R 400 ${TARGET_DIR}${CONFIG_DIR}/certs/*
 | 
					chmod -R 400 ${TARGET_DIR}${CONFIG_DIR}/certs/*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					find ${TARGET_DIR} -type d -exec chmod 750 {} \;
 | 
				
			||||||
 | 
					find ${TARGET_DIR} -type f -perm 644 -exec chmod 640 {} \;
 | 
				
			||||||
 | 
					find ${TARGET_DIR} -type f -perm 664 -exec chmod 660 {} \;
 | 
				
			||||||
 | 
					find ${TARGET_DIR} -type f -perm 755 -exec chmod 750 {} \;
 | 
				
			||||||
 | 
					find ${TARGET_DIR} -type f -perm 744 -exec chmod 740 {} \;
 | 
				
			||||||
		Reference in New Issue
	
	Block a user