dpkg tries to change ownership on remote mounted events folder

Support and queries relating to third party Live CDs and DVD, VM images and other packaged distributions
Post Reply
Sigge
Posts: 100
Joined: Mon May 02, 2016 8:14 am

dpkg tries to change ownership on remote mounted events folder

Post by Sigge » Sat Aug 03, 2019 8:49 am

On Armbian Debian GNU/Linux 10 (buster) with "deb http://www.deb-multimedia.org buster main non-free" the installer tries to change ownership of remote directory's.

This fails. Should it do this?


sudo dpkg --configure -a
Setting up zoneminder (2:1.32.3-dmo4+deb10u2) ...
chown: changing ownership of '/var/cache/zoneminder/events/12/2019-07-29/2/2-video.mp4': Permission denied
chown: changing ownership of '/var/cache/zoneminder/events/12/2019-07-29/2/snapshot.jpg': Permission denied
chown: changing ownership of '/var/cache/zoneminder/events/12/2019-07-29/2': Permission denied
chown: changing ownership of '/var/cache/zoneminder/events/12/2019-07-29/1/1-video.mp4': Permission denied
chown: changing ownership of '/var/cache/zoneminder/events/12/2019-07-29/1/snapshot.jpg': Permission denied
chown: changing ownership of '/var/cache/zoneminder/events/12/2019-07-29/1': Permission denied
chown: changing ownership of '/var/cache/zoneminder/events/12/2019-07-29': Permission denied
chown: changing ownership of '/var/cache/zoneminder/events/12': Permission denied
chown: changing ownership of '/var/cache/zoneminder/events/4': Permission denied
chown: changing ownership of '/var/cache/zoneminder/events/FrontRight': Permission denied
chown: changing ownership of '/var/cache/zoneminder/events/2': Permission denied
chown: changing ownership of '/var/cache/zoneminder/events/BakreOvre': Permission denied
chown: changing ownership of '/var/cache/zoneminder/events/1': Permission denied
chown: changing ownership of '/var/cache/zoneminder/events/Ingang/2019-07-29/2/2-video.mp4': Permission denied
chown: changing ownership of '/var/cache/zoneminder/events/Ingang/2019-07-29/2/snapshot.jpg': Permission denied
chown: changing ownership of '/var/cache/zoneminder/events/Ingang/2019-07-29/2': Permission denied
chown: changing ownership of '/var/cache/zoneminder/events/Ingang/2019-07-29/1/1-video.mp4': Permission denied
chown: changing ownership of '/var/cache/zoneminder/events/Ingang/2019-07-29/1/snapshot.jpg': Permission denied
chown: changing ownership of '/var/cache/zoneminder/events/Ingang/2019-07-29/1': Permission denied
chown: changing ownership of '/var/cache/zoneminder/events/Ingang/2019-07-29': Permission denied
chown: changing ownership of '/var/cache/zoneminder/events/Ingang': Permission denied
chown: changing ownership of '/var/cache/zoneminder/events/11': Permission denied
chown: changing ownership of '/var/cache/zoneminder/events/FrontLeft': Permission denied
chown: changing ownership of '/var/cache/zoneminder/events/Window': Permission denied
chown: changing ownership of '/var/cache/zoneminder/events/Basement': Permission denied
chown: changing ownership of '/var/cache/zoneminder/events/3': Permission denied
chown: changing ownership of '/var/cache/zoneminder/events': Permission denied
dpkg: error processing package zoneminder (--configure):
installed zoneminder package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
zoneminder


Folder permissions:

orangepiplus2e:/var/cache/zoneminder/events$ ls -la
total 56
drwxr-xr-x 1 www-data www-data 4096 jul 29 14:37 .
drwxr-xr-x 5 www-data www-data 4096 jul 24 16:25 ..
drwxr-xr-x 1 www-data www-data 4096 okt 3 2018 1
drwxr-xr-x 1 www-data www-data 4096 jul 28 18:07 11
drwxr-xr-x 1 www-data www-data 4096 jul 29 14:37 12
drwxr-xr-x 1 www-data www-data 4096 okt 4 2018 2
drwxr-xr-x 1 www-data www-data 4096 okt 6 2018 3
drwxr-xr-x 1 www-data www-data 4096 jan 6 2019 4
drwxr-xr-x 1 www-data www-data 4096 jul 28 18:07 BakreOvre
drwxr-xr-x 1 www-data www-data 4096 okt 6 2018 Basement
drwxr-xr-x 1 www-data www-data 4096 okt 3 2018 FrontLeft
drwxr-xr-x 1 www-data www-data 4096 okt 4 2018 FrontRight
drwxr-xr-x 1 www-data www-data 4096 jul 29 14:37 Ingang
drwxr-xr-x 1 www-data www-data 4096 jan 6 2019 Window

Sigge
Posts: 100
Joined: Mon May 02, 2016 8:14 am

Re: dpkg tries to change ownership on remote mounted events folder

Post by Sigge » Sat Aug 03, 2019 2:06 pm

Eh, am I supposted to do:

sudo chmod -R a+rw events/

..on the remote server?

This gives me write permissions but does not solve dpkg configuration.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests