[python-win32] [ANN] pywin32 build 300 released

2020-11-13 Thread Mark Hammond
Hi all, I'm happy to announce the release of pywin32 build 300. Significantly, this is the first release to exclusively support Python 3 - Python 2 is no longer supported. All Python source files in the repo are now in Python 3 syntax. To celebrate, the build numbers have jumped to 300 -

Re: [python-win32] Help with PySECURITY_DESCRIPTOR

2020-11-13 Thread momchil
Thank you for this. I was sent a piece of code and I made it work. It is using win32security.GetFileSecurity But now you brought up ADS (which I didn't cover) and opening files with backup semantics I m using Volume Shadow Copy atm but I don't know what are the benefits of using the backup

Re: [python-win32] Help with PySECURITY_DESCRIPTOR

2020-11-13 Thread Eryk Sun
On 10/27/20, momc...@bojinov.info wrote: > > I m trying to store file's acl along with the backup of the file and then > restore it on the same system Consider using BackupRead() and BackupWrite() from the win32file module. These functions support backup and restore of data streams (default and