English
Docker Permissions on NAS and Special Environments
Before changing permissions, identify the runtime user and mount.
- Baota: Verify the
/datahost path and read-write setting in container mount configuration, then use the host terminal for the bind mount procedure. Do not recursively change an entire website directory. - NAS shared folders: ACLs, inherited permissions, or network filesystems may deny writes. If
chownreportsOperation not permittedor access is still denied, check the runtime identity, parent directory traversal permissions, and read-write mount settings in NAS permission management. Vendor ACL controls differ; do not enable write access for everyone across a shared folder. - Rootless Docker / user namespace remapping: Container UID
10001may map to a different host UID. Check Security Options indocker infoand the daemon's mapping configuration before assigning host ownership. Do not blindly use hostchown 10001:10001. For existing volumes, prefer the helper container under the same daemon; investigate mapping or storage permissions if that fails. - macOS / Windows Docker Desktop: Check Docker's access to the shared host directory and read-write settings. Do not apply Linux numeric ownership commands directly to these hosts.
Do not use chmod -R 777, permanently run Reader as root, delete the database or volume, or run docker compose down -v to hide this error.
After repair, check logs and readiness.
