Subject: [Boost-bugs] [Boost C++ Libraries] #12306: boost::filesystem::remove_all(const path& p, system::error_code& ec) throws while it shouldn't
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-06-30 10:41:58
#12306: boost::filesystem::remove_all(const path& p, system::error_code& ec) throws
while it shouldn't
------------------------------------+------------------------------
Reporter: christophe.calmejane@⦠| Type: Bugs
Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.59.0
Severity: Problem | Keywords: remove_all throw
------------------------------------+------------------------------
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!
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12306> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC