I'm trying to test when boost can and can't modify files/folders so I can catch exceptions for when it fails but when I make boost purposely fail at modifying a folder, it fails silently without throwing any warnings or errors.
I've all ready tried checking the permissions of the folder with
boost::filesystem::file_status, but that returns a permission value that is OS specific(I'm testing on linux so I get a number for permission value).
boost::filesystem::path TestFolder("./TestFolder"); boost::filesystem::create_directory(TestFolder)
Edit: what happens wen i try to run the code: I execute the code above on a folder that my program doesn't have write permissions to and boost silently fails to modify it