id summary reporter owner description type status milestone component version severity resolution keywords cc 11051 filesystem::temp_directory_path() fails on OSX Gerik Rhoden Beman Dawes "On OSX the call to filesystem::temp_directory_path() throws an exception with error ENOTDIR. This happens because on OSX the environment variable TMPDIR has a trailing /. There are quite a few references to this on the web. On my system OSX 10.10.2 the TMPDIR is set to: /var/folders/r8/y110f55j7ws94zpl8wfdpfpx13r441/T/ Workaround: Use system::error_code ec; filesystem::path p = filesystem::temp_directory_path(ec); and ignore the error code. (which is ENOTDIR) Suggested fix: Remove trailing / after getting environment variable in ""boost_1_57_0\libs\filesystem\src\operations.cpp"" at around line 1770." Bugs new To Be Determined filesystem Boost 1.57.0 Problem