Did you add the path.repo configuration before starting the nodes?
What is the result of running on one of the nodes:
$ sudo -u elasticsearch touch /etc/middleware/test-permission.txt
Also, any specific reason to use 8.6 when the last version is 8.11?