Update / directory permission for rootless mode (apache image)
Current / permission (500, owned by root) prevents non-root users (www-data) from searching through /var/www/html directory:
...
(13)Permission denied: ... access to / denied (filesystem path '/var') because search permissions are missing on a component of the path
...
If I enter the docker container and update the permission to 501, it works just fine. But it seems like 555 is reasonable since fpm image is using 555 for /.
The permission itself is more of an upstream issue, but I'm submitting this issue anyway since nextcloud image already updates permissions for a few directories.
I can't reproduce this behavior. Can you provide a Compose (or run command) that should reproduce this behavior?
And I don't see anything resembling these permissions anywhere. Are you sure this wasn't something inherited from a bind mount from the underlying host or something?
Closing due to inability to reproduce and a lack of follow-up info needed to determine a course of action.