Boost C++ Libraries: Ticket #537: boost::filesystem::exists and permission problem https://svn.boost.org/trac10/ticket/537 <pre class="wiki">If /a/b/c has 444 permissions and you call exists on /a/b/c/d/e.txt it will return true, even if this file does not exist. I think that if permissions prevent proper calculation a filesystem_error should be thrown. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/537 Trac 1.4.3 tomcraignelson Tue, 13 Dec 2005 16:05:51 GMT <link>https://svn.boost.org/trac10/ticket/537#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/537#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=914778 I wish I had logged in so I could get email on this. I have an account here: tomCraigNelson, can someone who administers this make this happen? Thanks -- Tom. </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>beman_dawes</dc:creator> <pubDate>Wed, 14 Dec 2005 02:53:00 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/537#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/537#comment:2</guid> <description> <pre class="wiki">Logged In: YES user_id=51042 What operating system is involved? --Beman </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>beman_dawes</dc:creator> <pubDate>Thu, 15 Dec 2005 01:57:35 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/537#comment:3 https://svn.boost.org/trac10/ticket/537#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=51042 Never mind about the request for what operating system; I see what is happening. This is yet another example of why exists() needs three possible outcomes - true, false, and error. That has been fixed for 1.34, and yes, an exception will be thrown. Furthermore, if an exception isn't appropriate for the application, the status() function can be used. If you need the new functionality now, it is on the i18n branch in CVS. Cheers, --Beman </pre> Ticket