Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 ( #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? | Other CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2022-01-28 03:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (72 votes). Check out past polls.

    Notices?