Rollup merge of #110918 - ChrisDenton:on-error-resume-next, r=cuviper

`remove_dir_all`: try deleting the directory even if `FILE_LIST_DIRECTORY` access is denied

If opening a directory with `FILE_LIST_DIRECTORY` access fails then we should try opening without requesting that access. We may still be able to delete it if it's empty or a link.

Fixes https://github.com/rust-lang/cargo/issues/12042
This commit is contained in:
Matthias Krüger 2023-04-28 07:34:04 +02:00 committed by GitHub
commit c98d9cfa8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

Diff content is not available