Keep the selected subpath mounted while stat and copy use it so a shared volume cannot redirect the copy root with a symlink. Release the mount after each operation and cover source replacement in a regression test.
Signed-off-by: pooyanazad <pooyan.azadparvar@gmail.com>