MQTT - where do I add ACL files?

I am installing MQTT using the supervisor addin. My config:

logins: []
anonymous: true
customize:
  active: true
  folder: mosquitto
certfile: fullchain.pem
keyfile: privkey.pem
require_certificate: false

Now I have to add a couple of ACL files…and I’m directed to add them to:

/usr/share/hassio/share

I open the terminal in home assistant and there is no directory hassio in the /usr/share/ folder. If I just create a mosquitto folder in the /usr/share folder and add the acl files, the addon doesn’t find them.

I do have home assistant installed under raspian/docker, but I don’t think this is related to my problem.

Where do I add those two acl files? I could ssh to my RPI4 but not sure how to find my home assistant files since I’m under docker.

Try config/share

These are the folders mapped into Mosquitto addon.

If you login with the host it should be in the /usr/share/hassio/share that you already mentioned (which is mapped in the dockers to /share if you connect with the Ssh addon) where mosquitto folder needs to be created, then create ACL files.

I guess that you did not grant access to the Mosquitto addon in the respective folder. You can install Portainer addon, disable protection and connect to the Mosquitto addon to check if the /share/mosquitto folder and its contents are accessible.

However, it would not be recommendable to enable anonymous login into the MQTT broker (in which case you don’t need to do any of the above).