podman tries to make user-executable directory world-executable (rootless) #23028
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.
Issue Description
When a directory in the path configured in
containers.conf
is not world-executable podman fails to run containers:The top-level directory is already user-readable/executable but podman still tries to make it world-executable.
If doing "chmod o+x /app" as root then the test would work as expected.
If this is indeed required then at least the error message should be clearer.
Steps to reproduce the issue
See above - any directory in the path, even if user-readable/executable, not world-executable will cause podman to fail.
Describe the results you received
Directories must be world-executable or podman fails.
Describe the results you expected
It is enough for directories to be owned and accessible by the user.
podman info output
If you are unable to run podman info for any reason, please provide the podman version, operating system and its version and the architecture you are running.
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
No
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: