In message <3AE4BAB0.3090204 at ActiveState.com> Mark Hammond <MarkH at ActiveState.com> wrote: > Tim Howarth wrote: > > > My problem with directories not accepting security descriptors was > > not quite correct. > > So next problem how do I turn them on programmatically ? > > > It appears the win32 extensions lack this capability. Thanks, again, nice to know it's not me ! I guess I'll have to stick to cacls.exe for now. (Except, that echoes output to my user creator web page, need to sort that out....change stdout whilst calling cacls ?) > My MSDN CD has an article "HOWTO: Set Security on a NTFS Folder > Programmatically" that shows exactly what you want (although in VB code!). Yes, that's probably what I found when trying to work out how to do this - VB being more readable to me than similar things in C. > It would be cool to add this support, and not _too_ much work - I would > be happy to help, but don't have the time to do it all right now... Is there any way to do a generalised API call with win32 ? (Staying in Python, I've no/very little knowledge C-wise and certainly none about compiling win32 from sources.) -- ___ |im ---- ARM Powered ----
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4