Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Recursive chmod chown chgrp in 30 lines

by jj808 (Hermit)
on Oct 04, 2002 at 22:01 UTC ( #202923=note: print w/ replies, xml ) Need Help??

in reply to (code) Recursive chmod chown chgrp in 30 lines

I realise that TMTOWTDI, but I don't really understand what you are gaining over the standard UNIX chown/chgrp/chmod commands, as these are recursive anyway (with the -R option)?

I'm not by any means being anti-Perl here, but if there's a perfectly good system command then why not use it? Even if you want all the operations to be completed in one go, a four line shell (or Perl) script would suffice.

And if the system commands are not available, just install PPT.


Comment on Re: Recursive chmod chown chgrp in 30 lines
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2015-12-02 00:40 GMT
Find Nodes?
    Voting Booth?

    My keyboard shows this many letters:

    Results (31 votes), past polls