Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Win32::Perms Remove method

by bibo (Pilgrim)
on Jun 14, 2004 at 16:14 UTC ( [id://366591]=note: print w/replies, xml ) Need Help??


in reply to Win32::Perms Remove method

I hate to be a total dork, but do you know you can do this using the windows(file) explorer? You can pick a folder, right click and choose properties, and recurse thru the folder and all files with the changes. Why beat yourself up writing a script when you can do it with a couple mouse manuevers?

And the same thing goes for the CACLS.EXE command which you commented out. It can recurse, and do everything you want, so why? you never explain to us this little point...

TMTOWTDI

Replies are listed 'Best First'.
Re^2: Win32::Perms Remove method
by Discipulus (Canon) on Jun 15, 2004 at 08:10 UTC
    with cacls.exe u cannot substitute account.. with Xcopy u cannot copy between server local user's acl.. I need to take dirA on srvA and substitute usrLocal-A with usrDOMAINB, then copy dirA su servB and substitute in the acl usrDOMAINB with usrLOCAL-C ... this with some giga of file... greetings Lor*
Re^2: Win32::Perms Remove method
by dfaure (Chaplain) on Jun 15, 2004 at 07:10 UTC
    you can do this using the windows(file) explorer

    You're right, but you may not have direct access to the computer handling the files. Eg., the code is extracted from a web-shared data storage app.

    (Then we may ask ourself about the viability of such a service on Win32 :-), but this is not the purpose here)

    HTH, Dominique

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-19 13:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found