Skip to content

Update / directory permission for rootless mode (apache image) #1762

@jaeha-choi

Description

@jaeha-choi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds infoAdditional info needed to triagerootlessRunning in Docker w/o root

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions