Set permission to 1000:1000

This commit is contained in:
fcaffieri
2022-04-04 17:33:56 -03:00
parent c8d8a51d6a
commit 1f1d8626ef

View File

@@ -66,7 +66,7 @@ echo "changing certificate permissions"
chmod -R 500 /certificates chmod -R 500 /certificates
chmod -R 400 /certificates/* chmod -R 400 /certificates/*
echo "Setting UID indexer and dashboard" echo "Setting UID indexer and dashboard"
chown 1000 /certificates/* chown 1000:1000 /certificates/*
echo "Setting UID for wazuh manager and worker" echo "Setting UID for wazuh manager and worker"
cp /certificates/root-ca.pem /certificates/root-ca-manager.pem cp /certificates/root-ca.pem /certificates/root-ca-manager.pem
cp /certificates/root-ca.key /certificates/root-ca-manager.key cp /certificates/root-ca.key /certificates/root-ca-manager.key