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

Re: changing permissions of files in directories



> John Habermann <j_habermann@tpg.com.au> [2003-10-08 08:52]:
>

> Hi
>
> I am just wondering if there is anything out there that lets you
> change permissions of all files in a directory tree but not the
> directories. I need the directories to stay executable but want to
> set the files to be read only.
>

find <path> -type f | xargs chmod 0644

btw, please set your line length to a max. 72 characters.

wbr,
Lukas
-- 
Lukas Ruf           | Wanna know anything about raw |
<http://www.lpr.ch> | IP?  <http://www.rawip.org>   |



Reply to: