Hello,

 

Newbie here

 

I m trying to store file's acl along with the backup of the file and then
restore it on the same system

 

Got this from Mr Tim Golden:

# http://timgolden.me.uk/python/win32_how_do_i/add-security-to-a-file.html

sd = win32security.GetFileSecurity (FILENAME,
win32security.DACL_SECURITY_INFORMATION)

 

but don't see a way to serialize it out of the box.

 

If I call all the Get* methods and store those, will it be enough to restore
it ?

 

Regards,

Mochil

_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to