Hi,

Has anyone come across an issue with the Win32::FileSecurity module, that
ships with Perl 10, that causes it to croak when trying to retrieve DACL for
a folder for which one of the trustees is an unknown account (i.e account is
represented by it's SID instead of the account name)?

This doesn't appear to be an issue with the Win32::FileSecurity module from
Dave Roth. Unfortunately, Dave Roth's module will only work with Perl 817
and below.

The specific code extract I'm using is:

        use Win32::FileSecurity qw(Get EnumerateRights);
        ...
        Get($folder,\%htrustees);
        while (($trustee, $mask) = each %htrustees) {
        ...

The script croaks when it calls the Get function, and the error can not be
trapped. I have tried "eval" to no avail.

Any ideas, other than going back to 817, will be greatly appreciated.

Thanks
Charles


_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to