Skip to content

Linux permissions are ignored when running write operation #58326

@Stefan9283

Description

@Stefan9283

Version

24.0.1

Platform

x86_64

Subsystem

No response

What steps will reproduce the bug?

Run an image build like so with the attached files

docker build . --progress=plain --no-cache 

reproducer.zip

How often does it reproduce? Is there a required condition?

There is no condition. It manifests itself on every run.

What is the expected behavior? Why is that the expected behavior?

Writing on a readonly file should fail.

What do you see instead?

Here's a file with the output I'm getting.

Additional information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions