in reply to Win32::Perms question
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Win32::Perms question
by Anonymous Monk on Jun 19, 2002 at 12:58 UTC |