id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 7307,"boost::filesystem::remove_all(dirname,ec) throws on write protected directories",bach@…,Beman Dawes,"Hi there, according to the documentation, functions with error_code should not throw except if storage cannot be allocated. The following throws if directory ""bla"" exists but is write protected: {{{ string bla(""bla""); boost::system::error_code ec; boost::filesystem::remove_all(bla,ec); }}} The bla directory looks like this: {{{ ls -l bla d--------- 2 bach bach 4096 2012-08-30 23:56 bla }}} Output of the program is: ''terminate called after throwing an instance of ""boost::filesystem::filesystem_error"" what(): boost::filesystem::directory_iterator::construct: Permission denied: ""bla"" Aborted '' System: Ubuntu 9.10 Boost: 1.50, looking through change notes for 1.51 I did not see any entries for filesystem which could address this. Best, Bastien",Bugs,closed,To Be Determined,filesystem,Boost 1.50.0,Problem,fixed,,