Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

how do I remove a user or a group from a given directory?

by blackadder (Hermit)
on Jun 13, 2002 at 16:22 UTC ( [id://174259]=perlquestion: print w/replies, xml ) Need Help??

blackadder has asked for the wisdom of the Perl Monks concerning the following question:

I have used File::Security and Win32::Perms to no avail (really) this is what I have finally tried, and still did not work. Can someone tell what am I doing wrong please.
use Win32::Perms; my $dir = new Win32::Perms('c:/temp') || return 0; $dir -> Remove('Everyone');

Originally posted as a Categorized Question.

Replies are listed 'Best First'.
Re: how do I remove a user or a group from a given directory?
by Anonymous Monk on Jun 17, 2002 at 15:59 UTC
    Use Cacls instead or insert $dir->Set(); after the last line.
Re: how do I remove a user or a group from a given directory?
by particle (Vicar) on Jun 17, 2002 at 17:13 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://174259]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2025-07-08 05:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.