On Wed, Oct 24, 2001 at 08:46:00AM -0500, Alexander Wallace wrote: > This is more of a linux question... Is there a way to change recursivly > the mode to directories only? > > PHP Nuke requires me to change all files to 666 (chmod -R 666 *) and to > 777 all direcotories in order to use the file manager... Can this be done > in a sinle operation? Two ways off the top of my head: $ find /basedir -type d | xargs chmod 777 or $ chmod a+rwx /basedir $ chmod -R a+rwX /basedir Regards, -- Nathan Norman - Staff Engineer | A good plan today is better Micromuse Ltd. | than a perfect plan tomorrow. mailto:nnorman@micromuse.com | -- Patton
Attachment:
pgp2p9kG7bSo7.pgp
Description: PGP signature