[filesystem] Create poisoned directory?

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? Thanks, --Beman

On Tue, May 29, 2012 at 3:19 PM, Beman Dawes <bdawes@acm.org> 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).as... For the SDDL I think you want "D:(A;;SDFR;;;WD)" Yechezkel Mett
participants (2)
-
Beman Dawes
-
Yechezkel Mett