When i try to save a snapshot from my doorbell i get following error despite the ownership of the folder belongs to the hass user and group and the permission are as well set to: +rwx
There is enough space on the device and other users can write to the filesystem as well without a problem.
How can i debug further more why I cant save the snapshot?
ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Error for call_service at pos 1: Cannot write `/var/lib/hass/www/doorbell/snapshot-doorbell.jpg`, no access to path; `allowlist_external_dirs` may need to be adjusted in `configuration.yaml`
ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [133117633236560] Error handling message: Cannot write `/var/lib/hass/www/doorbell/snapshot-doorbell.jpg`, no access to path; `allowlist_external_dirs` may need to be adjusted in `configuration.yaml` (home_assistant_error) User from <IP> <Browser Info>
ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Error for call_service at pos 1: Cannot write `/var/lib/hass/www/doorbell/snapshot-doorbell.jpg`, no access to path; `allowlist_external_dirs` may need to be adjusted in `configuration.yaml`
ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [138733259416496] Error handling message: Cannot write `/var/lib/hass/www/doorbell/snapshot-doorbell.jpg`, no access to path; `allowlist_external_dirs` may need to be adjusted in `configuration.yaml` (home_assistant_error) User from <IP> <Browser Info>
ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Error for call_service at pos 1: Cannot write `/var/lib/hass/www/doorbell/snapshot-doorbell.jpg`, no access to path; `allowlist_external_dirs` may need to be adjusted in `configuration.yaml`
ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [136601675416624] Error handling message: Cannot write `/var/lib/hass/www/doorbell/snapshot-doorbell.jpg`, no access to path; `allowlist_external_dirs` may need to be adjusted in `configuration.yaml` (home_assistant_error) User from <IP> <Browser Info>
ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Error for call_service at pos 1: Cannot write `/var/lib/hass/www/doorbell/snapshot-doorbell.jpg`, no access to path; `allowlist_external_dirs` may need to be adjusted in `configuration.yaml`
ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [129471062630048] Error handling message: Cannot write `/var/lib/hass/www/doorbell/snapshot-doorbell.jpg`, no access to path; `allowlist_external_dirs` may need to be adjusted in `configuration.yaml` (home_assistant_error) User from <IP> <Browser Info>
ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Error for call_service at pos 1: Cannot write `/var/lib/hass/www/snapshot-doorbell.jpg`, no access to path; `allowlist_external_dirs` may need to be adjusted in `configuration.yaml`
ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [129471062630048] Error handling message: Cannot write `/var/lib/hass/www/snapshot-doorbell.jpg`, no access to path; `allowlist_external_dirs` may need to be adjusted in `configuration.yaml` (home_assistant_error) User from <IP> <Browser Info>
ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Error for call_service at pos 1: Cannot write `/www/snapshot-doorbell.jpg`, no access to path; `allowlist_external_dirs` may need to be adjusted in `configuration.yaml`
ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [129471062630048] Error handling message: Cannot write `/www/snapshot-doorbell.jpg`, no access to path; `allowlist_external_dirs` may need to be adjusted in `configuration.yaml` (home_assistant_error) User from <IP> <Browser Info>
ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Error for call_service at pos 1: Cannot write `www/snapshot-doorbell.jpg`, no access to path; `allowlist_external_dirs` may need to be adjusted in `configuration.yaml`
ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [129471062630048] Error handling message: Cannot write `www/snapshot-doorbell.jpg`, no access to path; `allowlist_external_dirs` may need to be adjusted in `configuration.yaml` (home_assistant_error) User from <IP> <Browser Info>
ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Error for call_service at pos 1: Cannot write `snapshot-doorbell.jpg`, no access to path; `allowlist_external_dirs` may need to be adjusted in `configuration.yaml`
ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [129471062630048] Error handling message: Cannot write `snapshot-doorbell.jpg`, no access to path; `allowlist_external_dirs` may need to be adjusted in `configuration.yaml` (home_assistant_error) User from <IP> <Browser Info>
Thanks @Sir_Goodenough for all the links and i read them carefully. But I still don’t know why i get the error Messages or what would be the correct configuration or place to store the snapshots…