Unable to install browser_mod in HA Core v2021.12.7

I’m trying to install browser_mod in my HA Core 2021.12.7 Docker/Ubuntu setup.
I’ve copied the browser_mod folder to my config/custom_components folder, and added this line to configuation.yaml:

browser_mod:

But I get this error:

Integration error: browser_mod - Integration 'browser_mod' not found.

Any idea what the problem might be?

if there is no typo spotted, they i can only guess a file rights issue. which OS user did you use to create folder and copy files?

Ah…maybe. I think I did the file copy on my Windows 10 desktop. What permissions should I grant?

I’ve just deleted the browser_mod folder (from within Windows), and copied it back from within Ubuntu. I also set some pretty liberal permissions - see below - but am still getting “Integration error: browser_mod - Integration ‘browser_mod’ not found.”

myuser@myuser-VirtualBox:~/homeassistant/custom_components$ ls -l browser_mod
total 84
-rw-rw-rw- 1 myuser myuser  1646 Nov  2 20:29 binary_sensor.py
-rw-rw-rw- 1 myuser myuser 23509 Nov  2 20:29 browser_mod.js
-rw-rw-rw- 1 myuser myuser  1280 Nov  2 20:29 camera.py
-rw-rw-rw- 1 myuser myuser   279 Nov  2 20:29 config_flow.py
-rw-rw-rw- 1 myuser myuser  3691 Nov  2 20:29 connection.py
-rw-rw-rw- 1 myuser myuser   757 Nov  2 20:29 const.py
-rw-rw-rw- 1 myuser myuser  2917 Nov  2 20:29 helpers.py
-rw-rw-rw- 1 myuser myuser  1770 Nov  2 20:29 __init__.py
-rw-rw-rw- 1 myuser myuser  1798 Nov  2 20:29 light.py
-rw-rw-rw- 1 myuser myuser   297 Nov  2 20:29 manifest.json
-rw-rw-rw- 1 myuser myuser  2589 Nov  2 20:29 media_player.py
-rw-rw-rw- 1 myuser myuser  1012 Nov  2 20:29 mod_view.py
-rw-rw-rw- 1 myuser myuser  1173 Nov  2 20:29 sensor.py
-rw-rw-rw- 1 myuser myuser  3082 Nov  2 20:29 service.py
-rw-rw-rw- 1 myuser myuser  4616 Nov  2 20:29 services.yaml