Opened 6 years ago
Last modified 6 years ago
#12306 new Bugs
boost::filesystem::remove_all(const path& p, system::error_code& ec) throws while it shouldn't
Reported by: | Owned by: | Beman Dawes | |
---|---|---|---|
Milestone: | To Be Determined | Component: | filesystem |
Version: | Boost 1.59.0 | Severity: | Problem |
Keywords: | remove_all throw | Cc: |
Description
This issue has been reported 4y ago (boost 1.50.0) but it's still here.
But I have an easier way to reproduce it. On a windows OS (I used win 8.1), create a folder somewhere, and use the windows properties on it to deny all access to it for you (FullAccess:Deny). Now, try to boost::filesystem::remove_all(folderPath, ec) on it. It will throw!
Change History (2)
comment:1 by , 6 years ago
Component: | None → filesystem |
---|---|
Owner: | set to |
comment:2 by , 6 years ago
Note:
See TracTickets
for help on using tickets.
same as #7303