File Integration - Write Access Error- Is it buggy or is it me?

I am trying to use the File integration to automate logging of some personnal data, but i can’t get it working.

I am running

  • Core 2024.10.4
  • Supervisor 2024.10.3
  • Operating System 13.2
  • Interface utilisateur 20241002.4
    on a raspberry 5

I’ve read a few post on the forum, and I did the following :

First I changed my configuration.xml and added:

homeassistant:
  allowlist_external_dirs:
    - "/config/myLogFiles"

Second, via the terminal integration, i entered the following commands to be sure to have write acces to the files

chmod 777 myLogFiles
touch myLogFiles/test.log
chmod 777 myLogFiles/test.log

Third, back to the hass UI, in Settings/Devices&Services/File to set up a notification service then I’ve entered ‘config/myLogFiles/test.log’ as Filepath with success (got pop-up with message ‘Success! Created configuration for File [config/myLogFiles/test.log].’

Then when creating an automation i try to run the following action

action: notify.send_message
metadata: {}
data:
  message: "test"
  title: "Title test"
target:
  entity_id: notify.file

but I only get the following “Write acces error”

.

and the same in home-assistant.log

2024-11-03 15:32:45.987 ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Error for call_service at pos 1: Write access to config/myLogFiles/test.log failed: FileNotFoundError(2, 'No such file or directory')

2024-11-03 15:32:45.988 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [546841827440] Write access to config/myLogFiles/test.log failed: FileNotFoundError(2, 'No such file or directory')

What am i doing wrong?