docker icon indicating copy to clipboard operation
docker copied to clipboard

Update / directory permission for rootless mode (apache image)

Open jaeha-choi opened this issue 3 years ago • 1 comments

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.

jaeha-choi avatar Jun 02 '22 07:06 jaeha-choi

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?

joshtrichards avatar Jun 18 '24 19:06 joshtrichards

Closing due to inability to reproduce and a lack of follow-up info needed to determine a course of action.

joshtrichards avatar Oct 08 '24 00:10 joshtrichards