-
-
Notifications
You must be signed in to change notification settings - Fork 37.2k
camera.snapshot 'no access to path!' error in 0.65.x #13107
Description
Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.65.2 and 0.65.3 0.64.3
Python release (python3 --version):
Component/platform:
Raspberry Pi 3
Description of problem:
camera.snapshot seems to have broken in the 0.65.x 0.64.3 release. I was running 0.64.2 and it worked fine untill I updated to 0.65.2, I then received the error 'Can’t write ‘/tmp/snapshot_front_door_1.jpg’, no access to path!'
Expected:
Expected it to write to the given path :)
Problem-relevant configuration.yaml entries and steps to reproduce:
whitelist_external_dirs: /tmp/homeassistant user has full access to the /tmp/ folder
entity_id: camera.front_door_camera
filename: "/tmp/snapshot_front_door_1.jpg"Additional info:
Reverting to version before 0.64.3 fixes the problem, it now works as before. I'm now running version 0.64.2 again and it works as expected.
Seem to be related to a fix in the 0.64.3 release:
https://github.com/home-assistant/home-assistant/releases/tag/0.64.3