Jan, Thanks.
The Win32 modules are invaluable, FileSecurity and Lanman even more so (here's anticipating good feedback to Howard's other e-mail). Cheers Just in 2008/8/21 Jan Dubois <[EMAIL PROTECTED]> > I've fixed this problem for Win32-FileSecurity-1.08: > > > > http://code.google.com/p/libwin32/source/detail?r=433 > > > > You should see it show up in the beta PPM repository within 2 days or so: > > > > http://ppm.activestate.com/beta/ > > > > It will of course also be included in any upcoming ActivePerl releases. > > > > Cheers, > > -Jan > > > > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *Charles > Manafa > *Sent:* August 13, 2008 3:32 PM > *To:* [email protected] > *Subject:* Win32::FileSecurity problem > > > > 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 > > > > > > _______________________________________________ > Perl-Win32-Users mailing list > [email protected] > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs > >
_______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
