Volume directory has wrong permissions when overriding container directory #12523
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.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Podman, unlike Docker, does not seem to match the existing permissions of a container directory when overriding it with a volume. The steps below use the
podman-docker
alias.Steps to reproduce the issue:
docker run --rm -v osm-test:/var/lib/postgresql/12/main --entrypoint ls overv/openstreetmap-tile-server -lha /var/lib/postgresql/12; docker volume rm osm-test
Describe the results you received:
Describe the results you expected:
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
Yes
The text was updated successfully, but these errors were encountered: