ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-win32-users
perl-win32-users
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
> 
> 

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved