|
Posted by Philip Scobie on November 5, 2004, 4:02 pm
Please log in for more thread options
Sorry for the newbie question and the answer is probably staring me in
the face, but....
Im running XP, Apache2.0.49(Win32), ActivePerl-5.8.4.810(Win32) and
successfully installed Win32::Perms
and my code is...
#!C:Perlbinperl.exe -w
use Win32::Perms;
my $Dir = new Win32::Perms('c:/Test/test1.txt')|| die;
$Dir->Remove('Users')|| die;
$Dir->Set()|| die;
It keeps dying on line "$Dir->Remove('Users')|| die;".
The only time it actually worked was when I put "$Dir->Remove(-1)||
die;" and it remove all the permissions. It's like it doesnt like the
'User' bit.
Any ideas!?!?
Dave R, if you're out there... work your magic, please!!
|