Skip to content

Directory not writeable #41704

@junghans

Description

@junghans

For the full story see: https://bugzilla.redhat.com/show_bug.cgi?id=1897839

In short, a Dockerfile like:

FROM registry.fedoraproject.org/fedora:rawhide
RUN dnf -y update
RUN dnf -y install texlive
RUN ls -l /usr/share/texlive/
RUN whoami
RUN test -w /usr/share/texlive/texmf-config/

will fail, even though /usr/share/texlive/texmf-config/ is owned by root.

See https://github.com/junghans/rawhide-latex/runs/1439529976?check_suite_focus=true for example using docker/[email protected], but I can reproduce this locally with Docker version 19.03.13, build 4484c46 (Fedora) and Docker version 19.03.13, build 4484c46d9d (OSX).

The funny part is that podman and docker with bash works as expected, but the default RUN with sh fails (see https://bugzilla.redhat.com/show_bug.cgi?id=1897839#c18).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions