Thanks @dynamicdave,
Here's what I see after the chmod
command:
pi@nr-vid-sec:/var/www/html/hss_media/recordings/09 $ ls -lt
total 400
-rw-r--r-- 1 pi pi 47940 May 10 07:22 07-22-45.mp4.jpg
-rw-r--r-- 1 pi pi 0 May 10 07:22 07-22-45.mp4
-rwxrwxr-x 1 pi www-data 38175 May 10 07:15 07-15-02.mp4.jpg
-rwxrwxr-x 1 pi www-data 0 May 10 07:15 07-15-02.mp4
You can see that before the chmod
command, both pi
and www-data
had ownership, but now when the app saves the files, only pi
has ownership. Regardless, I still get the 403 Forbidden
error. Screenshot below.
Group membership looks okay:
pi@nr-vid-sec:/var/www/html/hss_media/recordings/09 $ members www-data
www-data pi
Perhaps related, the HSS site instructions say:
"After a few seconds (approx 12-secs) the background will revert back to green - indicating the recording has been completed."
but unfortunately, that didn't work for me. After I press the "Recording" button I almost instantly see a "Recoding Done" message (not in 12 seconds) and a file is created in ../recordings/09
, but the button stays red, as shown in the screenshot.
Not sure if it's related, but my RPi is running headless and I'm running the app from a browser on a different computer.
Thoughts?