gulrak / filesystem

An implementation of C++17 std::filesystem for C++11 /C++14/C++17/C++20 on Windows, macOS, Linux and FreeBSD.
MIT License
1.34k stars 173 forks source link

Can't remove readonly files on Windows, is it support? #120

Closed wang-zuxian closed 3 years ago

wang-zuxian commented 3 years ago

Describe the bug Can't remove readonly files on Windows.

To Reproduce Create an txt file and change the property to readonly, then use ghc::filesystem::remove() to delete this file, it can't be deleted.

Expected behavior A clear and concise description of what you expected to happen.

Additional context Add any other context about the problem here.