In October of 2001, Kirk Batzer posted a problem with setting Windows NT
file ACLs using FileSecurity. I'm having a similar problem, but in my case,
my code worked on NT 4.0 using ActivePerl 522. Now I'm running ActivePerl
631 on Win2K and I've just discovered the problem. Does anyone have any idea
what is going on with this?
Thanks,
Tim
[EMAIL PROTECTED]
Kirk wrote:
>Using Win32::FileSecurity, I can't seem to create a file ACL for a
>domain account. It only works when I create a file ACL for a local
>account. Is there a restriction on domain accounts or am I missing.
>something?
>
>Thanks in advance.
>Code:
> use Win32::FileSecurity qw(Get EnumerateRights Set MakeMask );
> my $file = "c:\\Security\\Security-20011004153016.evt";
>
> # Add new ACL
> $fmask = MakeMask( qw( FULL ) );
> # $hash{'Domain\\myacct'} = $fmask ; # DOESN'T WORK
> $hash{'myacct'} = $fmask ; # Local account WORKS
>
> Set( $file, \%hash ); # Set fails on account Lookup when domain acct
>
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs