Skip Menu |

This queue is for tickets about the Win32-FileSecurity CPAN distribution.

Report information
The Basics
Id: 23856
Status: new
Priority: 0/
Queue: Win32-FileSecurity

People
Owner: Nobody in particular
Requestors: maxklokan [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Win32::FileSecurity does not dump denial ACLs
Date: Fri, 8 Dec 2006 12:25:21 +0100
To: bug-libwin32 [...] rt.cpan.org
From: "Max Klokan" <maxklokan [...] gmail.com>
Module: Win32::FileSecurity v1.04 Perl version: ActiveState Perl v5.8.8 built for MSWin32-x86-multi-thread Binary build 817 [257965] OS: Windows NT 5.1 (XP) Build 2600 (Service Pack 2)x86 Win32::FileSecurity seems to dump only ACLs of the type "Allow" but not those of the type "Deny". For example, if on a file a user has only "Deny" ACLs, the bitmask for the user is not returned. If he has a mix of both "Allow" and "Deny", the bitmask is as if he had only "Allow" ACLs. Code used: use Win32::FileSecurity qw( Get ); use Data::Dumper; my $dirname = 'd:\testacl'; my $dacl = {}; Get($dirname,$dacl); print Dumper $dacl;