Skip to content

Since 3.12.0 filesystem write access during container build IT tests results in AccessDeniedException #41659

@HerrDerb

Description

@HerrDerb

Describe the bug

I have an application that creates dirs and writes files to the file system. In production, this directory is mounted. During test we used to write directly into the container.

With the update to 3.12.0 this seem not to be possible anymore as we get a AccessDeniedException: java.nio.file.AccessDeniedException: /home/jboss/myDir

Expected behavior

No change. Writing to the filesystem during a containerized test should still be possible

How to Reproduce?

https://github.com/HerrDerb/quarkus-issue/tree/container-write

  • ./mvnw verify -Dquarkus.container-image.build=true -DskipITs=false

when running with 3.12.0 the IT test will fail -> see target/quarkus.log
when run with 3.11.3 the IT test will succeed

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions