PODMAN_USERNS broken with bind mounts #6705
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
/kind bug
Description
Setting the environment variable
PODMAN_USERNS=keep-id
should mount the directory as owned by the host user uid:gid.Steps to reproduce the issue:
First create a test directory to bind mount:
The host user is
1000:985
:podman 1.9.3:
Note the ownership of
.
:podman 2.0.0:
The owner of
.
is root:Describe the results you received:
The mounted directory is owned by root inside the container.
Describe the results you expected:
The mounted directory inside the container to be owned by the host user.
Output of
podman info --debug
:podman 1.9.3
podman 2.0.0
System
Arch Linux using the
podman
package.If more info is needed, I'll gladly post.
The text was updated successfully, but these errors were encountered: