You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maksim Davydov (Jira)" <ji...@apache.org> on 2026/06/24 12:43:00 UTC

[jira] [Assigned] (IGNITE-27445) [ducktests] Docker setup fails with bind-mounted repositories due to user permission mismatch

     [ https://issues.apache.org/jira/browse/IGNITE-27445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maksim Davydov reassigned IGNITE-27445:
---------------------------------------

    Assignee: Maksim Davydov

> [ducktests] Docker setup fails with bind-mounted repositories due to user permission mismatch
> ---------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-27445
>                 URL: https://issues.apache.org/jira/browse/IGNITE-27445
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Maksim Davydov
>            Assignee: Maksim Davydov
>            Priority: Minor
>              Labels: ducktests, ise
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When running ducktests using the provided Dockerfile and shell scripts,
> there is an issue with file read/write permissions when repositories are mounted via bind mounts.
> In my setup (Debian-based host), the Ignite repository is bind-mounted into the container.
> The mounted files preserve the host file ownership and permission policies.
> Inside the container, a non-root user (e.g. `ducker`) is created and used to run all ducktests,
> as required by ducktape for working with configs and test artifacts.
> As a result, during test execution the `ducker` user needs to read from and write to the
> bind-mounted Ignite repository, but does not have sufficient permissions.
> The repository is writable only by the host user (or root), and root access is not available
> inside the container.
> Currently, the Dockerfile and helper scripts do not account for this permission mismatch
> (e.g. by aligning UID/GID, adjusting ownership, or documenting required permissions),
> which makes ducktests fail in environments with stricter user policies.
> It would be helpful to:
> - handle UID/GID alignment between host and container, or
> - adjust ownership/permissions of bind-mounted directories, or
> - clearly document the required permissions for bind-mounted repositories.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)