diff --git a/dvc/fs/utils.py b/dvc/fs/utils.py index 301a648d44..9f33884e76 100644 --- a/dvc/fs/utils.py +++ b/dvc/fs/utils.py @@ -153,6 +153,7 @@ def test_links( from_fs.makedirs(from_fs.path.parent(from_file)) with from_fs.open(from_file, "wb") as fobj: fobj.write(b"test") + to_fs.makedirs(to_fs.path.parent(to_file)) ret = [] try: