Hi,

I'm trying to add "System" to the rootdir of the SystemDrive with
full-access. However, the following:

$Path=$ENV{"SystemDrive"} . "\\";
print $Path;
$Perm=new Win32::Perms("dir:$Path");
if(!$Perm) {
        print "Can't get Permissions for $Path\n";
}

$Perm->Dump;
$Perm->Allow("System", FULL );
$Perm->Set();
$Perm->Dump;


does add "System", but only with "List folder" Rights. Is there anything
wrong?

Lars
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to