
13 Oct
2008
13 Oct
'08
12:59 p.m.
Beman Dawes wrote:
On Mon, Oct 13, 2008 at 4:46 AM, Johan Torp <johan.torp@gmail.com> wrote:
After looking through boost.filesystem's documentation and code, I can't find anything about permissions. I assume boost.filesystem has not implemented this because it aims to be portable and POSIX style permissions isn't applicable on all operating systems. Am I correct?
Yes. I've tried a couple of times to research implementing POSIX style permissions on Windows, but quickly got lost in the complexities of the Win32 permissions and ownership scheme. I know it can be done for permissions, because Cygwin does it.
Note: 'NT ACLs are unable to reflect each possible combination of POSIX permissions' http://cygwin.com/cygwin-ug-net/ntsec.html
[snip]