From: Charles Hannum (mycroft@hal.gnu.ai.mit.edu)
Date: 02/08/93


From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
Subject: Re: chmod
Date: 8 Feb 1993 07:45:45 GMT


In article <gate.FFomyB1w165w@fangorn.hacktic.nl>
bram@fangorn.hacktic.nl (Bram Smits) writes:
>
> I just made a very stupid error : I did chmod -R 775 /usr , makeing
> every file in the /usr dir and subdirs executable. [...], what would
> be the easiest way to correct this screwup ??

find /usr -type f -print | xargs chmod a-x

Of course, any executables you had before will then not be executable.

-- 
 \  /   Charles Hannum, mycroft@ai.mit.edu
 /\ \   PGP public key available on request.  MIME, AMS, NextMail accepted.
Scheme  White heterosexual atheist male (WHAM) pride!