"Cannot write to content dirs" ERROR
Posted: Fri Mar 04, 2016 6:43 pm
Hi everybody, need help with this issue. ZM tell me this:
Cannot write to content dirs('/home/pi/sandisk_DATI/events','/home/pi/sandisk_DATI/images'). Check that these exist and are owned by the web account user
Here the folder:
pi@raspberrypi:~ $ ls -al /home/pi/sandisk_DATI/zoneminder/
totale 16
drwxrwxrwx 4 www-data www-data 4096 mar 3 20:37 .
drwxrwxrwx 6 root root 4096 mar 3 20:39 ..
drwxrwxrwx 2 www-data www-data 4096 mar 3 20:37 events
drwxrwxrwx 2 www-data www-data 4096 mar 3 20:37 images
they exist and owned by www-data .
also /var/cache/zoneminder
pi@raspberrypi:~ $ ls -al /var/cache/zoneminder/
totale 20
drwxr-xr-x 5 www-data www-data 4096 mar 4 17:20 .
drwxr-xr-x 14 root root 4096 dic 27 23:32 ..
drwxrwxrwx 2 www-data www-data 4096 mar 3 20:37 events
drwxrwxrwx 2 www-data www-data 4096 mar 3 20:37 images
drwxr-xr-x 2 root root 4096 feb 21 11:06 temp
pi@raspberrypi:~ $
and are binded in fstab:
/home/pi/sandisk_DATI/zoneminder/images /var/cache/zoneminder/images none defaults,bind 0 2
/home/pi/sandisk_DATI/zoneminder/events /var/cache/zoneminder/events none defaults,bind 0 2
and this issue make unusable the webgui interface to change the wrong path !! so nasty!!
How can i change it without webgui console?
Thanks all
Cannot write to content dirs('/home/pi/sandisk_DATI/events','/home/pi/sandisk_DATI/images'). Check that these exist and are owned by the web account user
Here the folder:
pi@raspberrypi:~ $ ls -al /home/pi/sandisk_DATI/zoneminder/
totale 16
drwxrwxrwx 4 www-data www-data 4096 mar 3 20:37 .
drwxrwxrwx 6 root root 4096 mar 3 20:39 ..
drwxrwxrwx 2 www-data www-data 4096 mar 3 20:37 events
drwxrwxrwx 2 www-data www-data 4096 mar 3 20:37 images
they exist and owned by www-data .
also /var/cache/zoneminder
pi@raspberrypi:~ $ ls -al /var/cache/zoneminder/
totale 20
drwxr-xr-x 5 www-data www-data 4096 mar 4 17:20 .
drwxr-xr-x 14 root root 4096 dic 27 23:32 ..
drwxrwxrwx 2 www-data www-data 4096 mar 3 20:37 events
drwxrwxrwx 2 www-data www-data 4096 mar 3 20:37 images
drwxr-xr-x 2 root root 4096 feb 21 11:06 temp
pi@raspberrypi:~ $
and are binded in fstab:
/home/pi/sandisk_DATI/zoneminder/images /var/cache/zoneminder/images none defaults,bind 0 2
/home/pi/sandisk_DATI/zoneminder/events /var/cache/zoneminder/events none defaults,bind 0 2
and this issue make unusable the webgui interface to change the wrong path !! so nasty!!
How can i change it without webgui console?
Thanks all