http://www.perlmonks.org?node_id=202978


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

I have particularly enjoyed discovering the command:
chmod -R go=u-w /some/dir
which makes executables and directories work nicely.

-- Randal L. Schwartz, Perl hacker