OT: THANKS! (was Win32::FileSecurity problem)
by Justin Allegakoen other posts by this author
Aug 20 2008 6:17PM messages near this date
view in the new Beta List Site
Re: Difference between package repositories
|
Win32::Lanman and Perl 5.10
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 <jand@[...].com>
> 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:* perl-win32-users-bounces@[...].com [mailto:
> perl-win32-users-bounces@[...].com] *On Behalf Of *Charles
> Manafa
> *Sent:* August 13, 2008 3:32 PM
> *To:* perl-win32-users@[...].com
> *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
> Perl-Win32-Users@[...].com
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>
>
|