That should do the trick for you.use Win32::Perms; my $dir = new Win32::Perms('c:/temp')||return 0; $dir -> Remove ('everyone'); $dir -> Set(); # here is where we apply the new perms $dir -> Dump;
My Win32::Perms->Dump() doesn't display account permissions twice. I am using ActiveState Perl v5.6.0 on Windows 2000. What version and platform are you using? Maybe if you post your output of Dump(), I would have an idea about it.
Jeremy
In reply to Re: Win32::Perms question
by enoch
in thread Win32::Perms question
by blackadder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |