Writing to a network shared folder

I have set up a samba ‘shared’ folder called camera_storage.
I try to write to it using:
The following automation:

Blockquote
action: camera.record
metadata: {}
data:
duration: 30
lookback: 0
filename: /share/camera_storage/{{now().strftime(“%Y%m%d-%H%M%S”)}}.mp4
target:
entity_id: camera.front_driveway

Blockquote

However, I get an error ‘Can’t write /share/camera_storage/20241018-055927.mp4, no access to path!’
What am I doing wrong?
Here is my storage setting:

did you add the path to your allowlist_external_dirs?

look here:

and look down at the action record section.