Boost C++ Libraries: Ticket #1706: Add ability to retrieve, set file permissions https://svn.boost.org/trac10/ticket/1706 <p> Add ability to retrieve and set file and permissions. </p> <p> A demonstration of usefulness would be to add a check to Boost's inspect tool that reports files of known-to-be-not-executable types with the execute permission set. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1706 Trac 1.4.3 Dean Michael Berris Mon, 31 Jan 2011 14:47:12 GMT <link>https://svn.boost.org/trac10/ticket/1706#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1706#comment:1</guid> <description> <p> Replying to <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1706" title="#1706: Feature Requests: Add ability to retrieve, set file permissions (closed: fixed)">bemandawes</a>: </p> <blockquote class="citation"> <p> Add ability to retrieve and set file and permissions. </p> </blockquote> <p> This looks like something that would be interesting to work on. </p> <blockquote class="citation"> <p> A demonstration of usefulness would be to add a check to Boost's inspect tool that reports files of known-to-be-not-executable types with the execute permission set. </p> </blockquote> <p> Do you already have a design in place or at least an interface you want to expose for this functionality? I find myself often needing this information as well quite often in applications. It should be noted that it should be able to work on directories. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Beman Dawes</dc:creator> <pubDate>Thu, 19 Apr 2012 15:36:35 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/1706#comment:2 https://svn.boost.org/trac10/ticket/1706#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> The permissions() function has been added. The functionality is limited, but creating a full permissions and access control abstraction that would cover both Windows and POSIX systems just isn't happening. </p> <p> If anyone can come up with such an abstraction, with implementation and test cases, I'd be very happy to add it to Boost.Filesystem. </p> <p> Thanks, </p> <p> --Beman </p> Ticket