Schlika has asked for the wisdom of the Perl Monks concerning the following question:
Output is:use Win32::Perms; use diagnostics; use strict; my $path = "c:\\temp\\test"; my $login = "hostname\\testuser"; my $Dir = new Win32::Perms($path) or die "new: $^E"; $Dir->Add($login, CHANGE, ACCESS_ALLOWED_ACE_TYPE, OBJECT_INHERIT_ACE +| CONTAINER_INHERIT_ACE ) or die "allow: $^E"; $Dir->Set() or die "set: $^E"; $Dir->Close();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
can't understand error message?
by PodMaster (Abbot) on Apr 07, 2004 at 04:19 UTC | |
by Schlika (Initiate) on Apr 08, 2004 at 09:18 UTC | |
by Schlika (Initiate) on Apr 07, 2004 at 07:48 UTC | |
by Schlika (Initiate) on Apr 07, 2004 at 07:57 UTC | |
|
Re: Win32::Perms - Can't use Add or Allow methods
by esskar (Deacon) on Apr 06, 2004 at 22:47 UTC | |
by Schlika (Initiate) on Apr 07, 2004 at 07:45 UTC |