Boost logo

Boost :

Subject: Re: [boost] [filesystem] Create poisoned directory?
From: Yechezkel Mett (ymett.on.boost_at_[hidden])
Date: 2012-05-29 11:40:05


On Tue, May 29, 2012 at 3:19 PM, Beman Dawes <bdawes_at_[hidden]> wrote:
> Ticket #6932 identifies error reporting bugs in the filesystem
> create_directories() function.
>
> To run test cases I'd like to create a directory is OK to delete, but
> is poisoned against as many other operations as possible.
>
> How can this be done via the POSIX API?
>
> How can this be done via the Win32 API?

Have a look at the example at

http://msdn.microsoft.com/en-us/library/windows/desktop/ms717798(v=vs.85).aspx

For the SDDL I think you want

"D:(A;;SDFR;;;WD)"

Yechezkel Mett


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