I am getting multiple operation not permitted errors in my docker container logs, qbittorrent, lidarr, sonarr.
My setup:
proxmox running truenas VM and a debian VM (that is exclusively used for docker)
on the truenas i set up a nfs share using my debian-docker user as the owner of the share 1000:1000.
on debian - i added my non-root user (debiandocker) to the docker user group and i have mounted the nfs share with fstab. in my docker-compose file I have set bind points for the various directories that the containers need.
This all worked for the setup without many hitches and my whole arr stack works okay.
But there are errors in the logs of many of the containers:
chown: changing ownership of '/config/extended/logs/downloaded': Operation not permitted
chown: changing ownership of '/config/extended/logs/downloaded/tidal': Operation not permitted
chown: changing ownership of '/config/extended/logs/downloaded/failed': Operation not permitted
chown: changing ownership of '/config/extended/logs/downloaded/failed/tidal': Operation not permitted
chown: changing ownership of '/config/extended/logs/downloaded/failed/deezer': Operation not permitted
chown: changing ownership of '/config/extended/logs/downloaded/deezer': Operation not permitted
chown: changing ownership of '/config/extended/logs/downloaded/deezer/75194562': Operation not permitted
Mostly the errors appear to be related to directories that are trying to be created or files that are modified in the normal operation of the containers.
Again the whole stack seems to function as normal right now but it is early days and I love a clean log
and i am getting scared off by this:
**** Permissions could not be set. This is probably because your volume mounts are remote or read-only. ****
**** The app may not work properly and we will not provide support for it. ****
docker version:
Client: Docker Engine - Community
Version: 28.0.1
API version: 1.48
Go version: go1.23.6
Git commit: 068a01e
Built: Wed Feb 26 10:41:16 2025
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 28.0.1
API version: 1.48 (minimum version 1.24)
Go version: go1.23.6
Git commit: bbd0a17
Built: Wed Feb 26 10:41:16 2025
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.7.25
GitCommit: bcc810d6b9066471b0b6fa75f557a15a1cbf31bb
runc:
Version: 1.2.4
GitCommit: v1.2.4-0-g6c52b3f
docker-init:
Version: 0.19.0
GitCommit: de40ad0
debian version:
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
things I have tried
-
in my truenas shell I tried a chown -R 1000:1000 /mnt/place-where-this-is-happening
this seems to work and clean a log file on a docker stop and then start as it seems to change the permissions for existing files but then when the container creates or modifies something new then the errors reappear -
I also have changed permissions in the nfs share in truenas to mapallusers back to the debiandocker user
Things I am not sure about:
I am not sure about group permissions or really how the docker container permissions work