-
Notifications
You must be signed in to change notification settings - Fork 463
Open
Labels
Description
tag 5.3.2
Hello,
Deployment on Debian 13.1 / Docker 29.0.4 / Storage Driver: "overlayfs" fails with "Permission denied: access to / denied" error message.
Steps to reproduce:
- docker-compose.yml
services:
mariadb:
image: mariadb:11.8.5
environment:
MARIADB_ROOT_PASSWORD: notSecureChangeMe
phpmyadmin:
image: phpmyadmin:5.2.3
ports:
- "8081:80"
environment:
- PMA_ARBITRARY=1- docker compose up -d
- "docker exec -it test-phpmyadmin-1 ls -la /var/www/html" shows following permissions
drwxr-x--- 1 root root 4096 Feb 19 11:08 ..
-r--r----- 1 root root 20 Feb 19 11:08 .rtlcssrc.json
-r--r----- 1 root root 22805 Feb 19 11:08 ChangeLog
...
Since apache server is running as "www-data", it does not have access to /var/www/html.
I noticed that there is no issue when Docker is configured with legacy Storage Driver: "overlay2"
drwxr-xr-x 1 root root 4096 Sep 29 23:50 ..
-r--r--r-- 1 www-data www-data 20 Oct 7 20:40 .rtlcssrc.json
-r--r--r-- 1 www-data www-data 22805 Oct 7 20:40 ChangeLog
...
Reactions are currently unavailable