Page 1 of 1

[Help] TOS 7.0.1652: non-root Docker container can't read files via group permission on bind mounts (worked on TOS 6)

Posted: 02 Dec 2026, 07:48
by dghoti
After updating from TOS 6 to TOS 7, my Proxmox Backup Server container (ayufan/proxmox-backup-server) stopped working. The issue persists on TOS 7.0.1652, the latest release. A non-root process in a container can no longer read files on a bind-mounted share through group permissions. Reading files it owns still works. My other containers are fine because they run as root.

Environment

NAS model: [add your model]
TOS 7.0.1652 (kernel 6.12.117+)
/Volume1 is btrfs, bind-mounted into Docker from /Volume1/docker/<stack>/...
PBS's API daemon runs as root and its proxy daemon runs as uid/gid 34 (backup)

Symptoms

On TOS 7.0.1105 the container panicked at startup with unable to read "/etc/proxmox-backup/authkey.pub" - Permission denied.
The file was owned 0:34, mode 640. By normal Unix rules uid 34 (gid 34) should be able to read it.
Test as uid 34 using the same bind mount: files owned 34:34 are readable, and files owned 0:34 with group read are denied (setpriv --reuid=34 --regid=34 --clear-groups cat <file>).
getfacl on the host shows nothing unusual, though every entry has a + flag.
Adding a named-user ACL (setfacl -m u:34:r) did not fix it.
chown 34:34 on the files fixes it, but PBS recreates domains.cfg as 0:34 on every container start, so it breaks again after each restart or reboot.
Updating to 7.0.1652 and restarting did not change this: the PBS login realm list failed with "Permission denied" until I re-ran the chown.

Mount line

/dev/mapper/vg0-lv0 on /Volume1 type btrfs (rw,noatime,tmacl,space_cache=v2,subvolid=256,subvol=/@)

tmacl isn't a standard Linux mount option. My guess is that it's a TOS permissions layer that no longer honours group or ACL access for container processes. That's an inference from the symptoms, not something I've confirmed.

Questions

Was group/ACL handling for Docker bind mounts changed in TOS 7?
Is there a supported setting to restore it, short of running everything as root?

Re: [Help] TOS 7.0.1652: non-root Docker container can't read files via group permission on bind mounts (worked on TOS 6

Posted: 02 Dec 2026, 13:51
by TMzethar
1. Yes — group/ACL handling for anything under a shared folder did change in TOS 7 (the filesystem-level rich ACL layer). Bind mounts themselves behave as before.
2. There is no supported switch to fall back to plain POSIX semantics, and editing the mount options in `/etc/tos/conf/tos.ini` or unloading the module is not supported.