I am trying to write a simple script that will copy all of the windows file
permissions from one file to another file. According to the documentation,
this is exactly what Win32::FileSecurity does. However I keep coming into
the same error, for which I cannot find any documentation.
It
I suspect you have a SID that can't be translated into the readable
name. I think Win32::FileSecurity *should* be able to tolerate that, so
I'd say it's just buggy. Try using Win32::Security::NamedObject. It's
a bit more confusing, but it seems to work right (if you can figure out
how to