Hello,
I am triing to set File- and Directory-Permissions with Dave Roth�s
Win32::Perm - Module. The following script sets an ACL to the file
test.txt correctly.
But the sript dont�t work with the directory "c:/temp".
The ReadMe file says, that I have to use a Prefix with the directorys
path, but I dont know the correct way.
Thanks for your help.
Thomas
use Win32::Perms;
$File = new Win32::Perms; # Create empty ACL�s
$Dir = new Win32::Perms;
$File->Add({Account=>'co', Mask=>READ}); # Add an account to the
ACL
$File->Set("c:/tmp-rechte/test.txt"); # Set the
file's permissions
# the files ACLs are modified correctly
$Dir->Add({Account=>'co', Mask=>READ});
$Dir->Set("c:/temp");
# the directories ACLs are not modified
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin