Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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 scrutinizing the Monastery: (8)
As of 2015-10-07 02:51 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (170 votes), past polls