Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!indri!polyslo!csun!csuna!abcscnge From: abcscnge@csuna.csun.edu (Scott "The Pseudo-Hacker" Neugroschl) Newsgroups: comp.unix.questions Subject: Re: Testing execute permission from csh Message-ID: <1955@csuna.csun.edu> Date: 10 May 89 03:46:42 GMT References: <19486@adm.BRL.MIL> Reply-To: abcscnge@csuna.csun.edu (Scott Neugroschl) Organization: CSU Northridge Lines: 23 In article <19486@adm.BRL.MIL> Kemp@DOCKMASTER.NCSC.MIL writes: } } # foreach f (*) } ? if -x $f chmod o+x $f } ? end } How about: # find . -perm 0100 -exec chmod o+x {} \; -print Note: I may have remembered the syntax of -perm incorrectly... no RTFMs to me, please. find(1) allows one to look for a specific mask or specific perms. Check the manual. -- Scott "The Pseudo-Hacker" Neugroschl UUCP: ...!sm.unisys.com!csun!csuna.csun.edu!abcscnge -- unless explicitly stated above, this article not for use by rec.humor.funny -- Disclaimers? We don't need no stinking disclaimers!!!