diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2022-07-06 07:23:36 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2022-07-12 15:41:13 -0400 |
commit | bb8ff86bf2447bbb1ce96b1371b1e7510835d2ff (patch) | |
tree | dd4ae42aa7d0bce38e722c2cc72ebf09efcf1fc6 /test/system/180-blkio.bats | |
parent | 72d13c56ce2784aa27ce2481e85de516672d0b5f (diff) | |
download | podman-bb8ff86bf2447bbb1ce96b1371b1e7510835d2ff.tar.gz podman-bb8ff86bf2447bbb1ce96b1371b1e7510835d2ff.tar.bz2 podman-bb8ff86bf2447bbb1ce96b1371b1e7510835d2ff.zip |
Use SafeChown rather then chown for volumes on NFS
NFS Servers will thrown ENOTSUPP error if you attempt to
chown a directory to the same UID and GID as the directory
already has. If volumes are stored on NFS directories this
throws an ugly error and then works on the next try.
Bottom line don't chown directories that already have the correct
UID and GID.
Fixes: https://github.com/containers/podman/issues/14766
[NO NEW TESTS NEEDED] Difficult to setup an NFS Server in testing.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/system/180-blkio.bats')
0 files changed, 0 insertions, 0 deletions