On 18/03/2011 9:28 PM, Randy Syring wrote:
The issue I am running into is that I am not sure how to copy files from
windows to the Linux and preserve ACLs.

I assume that you only want to preserve them as metadata, not
to map them somehow to whatever security model obtains on the
Linux disk?

The only kind of thing I can come up with (hand-wavingly) is to
convert the SD of each file to its equivalent SDDL and then to
track that along with the file. I was going to suggest stuffing
it in an ADS but presumably that wouldn't survive the journey
to Linux either. No doubt you could contrive some kind of
parallel metadata/database which could hold the info...

The additional complication with ACLs (especially when it comes
to restoring them) is coping with the levels of inheritance and
override.

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

Reply via email to