Boost logo

Boost :

Subject: Re: [boost] [filesystem]Setting permissions/chmod
From: Ilya Sokolov (ilyasokol_at_[hidden])
Date: 2008-10-13 08:59:42


Beman Dawes wrote:
> On Mon, Oct 13, 2008 at 4:46 AM, Johan Torp <johan.torp_at_[hidden]> 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]


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk