[ale] chmod question

Jason Etheridge phasefx at magusaptus.com
Mon Jun 7 12:26:16 EDT 2004


> Is there a way to use chmod recursively where it will only change the 
> permissions on the files and not the directories?  chmod -R changes 
> everything thus making the directories non-traversable.

find . -type f -exec chmod 666 {} \;

That should work.  Type f refers to regular files.

-- Jason



More information about the Ale mailing list