[Boston.pm] Win32::FileSecurity headaches

2004-07-21 Thread Josh Quintus
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

Re: [Boston.pm] Win32::FileSecurity headaches

2004-07-21 Thread Duane Bronson
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