diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-06-24 13:53:36 +0200 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2021-06-24 13:53:36 +0200 |
commit | b1082696ebb3970ca0a67790fa9bb9955eff5fc2 (patch) | |
tree | b722db1891c051f7260192677effb9fbc7fc9f7c /pkg/specgen/config_unsupported.go | |
parent | da33fc45b6628c1ac1a16e49790be2b4fbf502a5 (diff) | |
download | podman-b1082696ebb3970ca0a67790fa9bb9955eff5fc2.tar.gz podman-b1082696ebb3970ca0a67790fa9bb9955eff5fc2.tar.bz2 podman-b1082696ebb3970ca0a67790fa9bb9955eff5fc2.zip |
cp: do not allow dir->file copying
Fix a bug in `podman-cp` to forbid copying directories to files.
Previously, the directory was copied to the parent directory of the file
which is wrong.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg/specgen/config_unsupported.go')
0 files changed, 0 insertions, 0 deletions