Discipulus has asked for the wisdom of the Perl Monks concerning the following question:
use Win32::FileSecurity(Get, EnumerateRights, Set); $cart='TestFolder'; mkdir $cart||warn $!; Get ($cart, \%hs1); while (($nom, $mask)=each %hs1) { if ($nom !~ /Everyone/){ $hs2{"$nom"}=$mask; print "\t\t$nom\n"; } else {print"\t\t$nom\t\TO ELIMINATE\n"} } Set ($cart, \%hs2); print"\nAFTER\n\n"; Get ($cart, \%hs3); while (($nom3, $mask3)=each %hs3) { print "\t\t$nom3\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: win32 ACL problem.
by blm (Hermit) on Sep 24, 2002 at 11:46 UTC | |
by Discipulus (Canon) on Sep 24, 2002 at 12:11 UTC | |
by blm (Hermit) on Sep 24, 2002 at 13:15 UTC | |
by blm (Hermit) on Sep 25, 2002 at 08:40 UTC |