diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2022-06-25 14:19:04 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2022-06-27 20:22:20 +0200 |
commit | 443a2afdb5bf471bca03a6de649e0978b13996ab (patch) | |
tree | 6d26f4a3791c7803e7f8fe40bd2d29cc0eecac2f /test/apiv2/23-containersArchive.at | |
parent | 28e2a604b472b3b3daea31d10da007dfac10b028 (diff) | |
download | podman-443a2afdb5bf471bca03a6de649e0978b13996ab.tar.gz podman-443a2afdb5bf471bca03a6de649e0978b13996ab.tar.bz2 podman-443a2afdb5bf471bca03a6de649e0978b13996ab.zip |
volumes: switch order of checks
avoid any I/O operation on the volume if the source directory is empty.
This is useful on network file systems (since CAP_DAC_OVERRIDE is not
honored) where the root user might not have enough privileges to
perform an I/O operation on the NFS mount but the user running inside
the container has.
[NO NEW TESTS NEEDED] it needs a setup with a network file system
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'test/apiv2/23-containersArchive.at')
0 files changed, 0 insertions, 0 deletions