punklrokk has asked for the wisdom of the Perl Monks concerning the following question:
use File::Find; use Win32::FileSecurity; #determine the DACL mask for Full Access $fullmask = Win32::FileSecurity::MakeMask(FULL); &find(\&wanted,"\\"); sub wanted { # Win32::FileSecurity::Get does not like the paging file, skip it next if ($_ eq "pagefile.sys"); (-f $_) && #Line 23 Win32::FileSecurity::Get($_, \%users) && (defined $users{"Everyone"}) && ($users{"Everyone"} == $fullmask) && print "$File::Find::name\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Learning Perl Chap 2 Win32::FileSecurity Help
by BrowserUk (Patriarch) on May 09, 2006 at 03:12 UTC | |
by tye (Sage) on May 09, 2006 at 17:15 UTC | |
by BrowserUk (Patriarch) on May 09, 2006 at 17:27 UTC | |
by punklrokk (Scribe) on May 09, 2006 at 15:58 UTC | |
by BrowserUk (Patriarch) on May 09, 2006 at 16:22 UTC | |
by punklrokk (Scribe) on May 09, 2006 at 18:45 UTC | |
by BrowserUk (Patriarch) on May 09, 2006 at 19:02 UTC | |
| |
|
Re: Learning Perl Chap 2 Win32::FileSecurity Help
by davidj (Priest) on May 09, 2006 at 02:31 UTC |