WeidiDeng 7771aaacf6 vfs: fix writing to a read only directory creating spurious directory entries
Before this fix, when a write to a read only directory failed, rclone
would leav spurious directory entries in the directory.

This confuses `rclone serve webdav` into giving this error

    http: superfluous response.WriteHeader

This fixes the VFS layer to remove any directory entries where the
file creation did not succeed.

Fixes #5702
2023-04-18 17:33:04 +01:00
..
2022-11-07 11:41:47 +00:00
2022-11-07 11:41:47 +00:00
2020-10-14 15:21:31 +01:00
2019-04-15 21:49:58 +01:00
2022-11-07 11:41:47 +00:00