title: boost filesystem get permissions returns (509)dec == (1FD)hex. This value is not in the documentation
body: <p>Reading here <a href="http://www.boost.org/doc/libs/1_55_0/libs/filesystem/doc/reference.html#file_status-constructors" rel="nofollow">boost filesystem</a>. The value of 509 does not exist.</p>
  
  <p>The code that is doing this is:</p>
  
  <pre><code>boost::filesystem::path closest_existing_path = log_dir;                                                                                                                    
  
  do {
    closest_existing_path = log_dir.parent_path();                                                                                                                            
  
  } while (!boost::filesystem::exists(closest_existing_path) &amp;&amp;
      closest_existing_path != boost::filesystem::path(""));                                                                                                                  
  
  std::cout &lt;&lt; "Closest existing path --" &lt;&lt; closest_existing_path &lt;&lt;                                                                                                         
    "-- permissions = " &lt;&lt;
    boost::filesystem::status(closest_existing_path).permissions() &lt;&lt;                                                                                                         
    std::endl;  
  </code></pre>
  
  <p>The directory being passed in for sure exists.</p>
  
  <p>The sample output is:</p>
  
  <blockquote>
    <p>./logger_tester &amp;&amp; cat results.txt<br>
    Closest existing path<br>
    --"/usr"-- permissions = 493<br>
    Closest existing path<br>
    --"/home/mehoggan/Devel/RuleSimulator/src/utils/util_tests"-- permissions = 509<br></p>
  </blockquote>