[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] chmod question



> 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