Click here to get back home

Win32::Perms

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Win32::Perms Philip Scobie 11-05-2004
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!!


Similar ThreadsPosted
Prob with Win32:: Perms November 6, 2004, 4:16 am
The Win32::Perms module ActiverPerl 5.8 is available. July 21, 2004, 6:18 pm
Does Win32::Perms $PermsObj->Remove( $User ) Work? June 22, 2005, 1:23 pm
Dave Roth's site (Win32::AdminMisc, Win32::ODBC, etc.) not available. December 22, 2005, 8:46 am
Problems installing Win32-Setupsup, Win32-CtrlGUI October 10, 2004, 12:31 am
Win32-PerfMon on Win32 October 26, 2004, 1:12 pm
Win32::API, please help August 10, 2004, 10:02 am
Win32::API September 22, 2005, 2:00 pm
WIN32::API on .net April 4, 2005, 5:44 am
WIN32::API on .net April 4, 2005, 7:06 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap