BEGIN { $| = 1;
"1..1\n"
; }
END {
"not ok 1\n"
unless
$loaded
;}
$loaded
= 1;
"ok 1\n"
;
STDERR
"##### This will work only when files are in NTFS #####\n"
;
foreach
(<*>) {
next
unless
-e
$_
;
my
(
%hash
) = ();
if
( Get(
$_
, \
%hash
) ) {
STDERR
"----- File: $_ -----\n"
;
while
( (
$name
,
$mask
) =
each
%hash
) {
STDERR
"$name:\n\t"
;
EnumerateRights(
$mask
, \
@happy
) ;
STDERR
join
(
"\n\t"
,
@happy
),
"\n"
;
}
}
else
{
(
"Error #"
,
int
( $! ),
": $!"
) ;
}
}