Hi Phil

On Tue, 07 Sep 2004, Phil Scarratt wrote:

> Peter Miller wrote:
> 
> >On Tue, 2004-09-07 at 15:55, Christopher Vance wrote:
> >
> >>On Tue, Sep 07, 2004 at 03:39:26PM +1000, David Gillies wrote:
> >>
> >>>or just a plain old chmod -R 666 *.php
> >>
> >>This won't do it.
> >
> >
> >chmod -R og=u .
> >
> >
> 
> chmod -R 666 *
This would be good if you dont have directories under the location your
chmoding, though given you are using -R I would assume you do.

Try it yourself and then cd into a modified directory.

FILES=`find ./ -type f`; for i in $FILES; do chmod 666 $i; done;

man find
for more file types

> 
> will work, unless you don't want all files to be changed, in which case 
> find is your friend - man find.
> 
> fil
> -- 
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--------------------------------------------------
Darren Williams <dsw AT gelato.unsw.edu.au>
[EMAIL PROTECTED] <www.gelato.unsw.edu.au>
--------------------------------------------------
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to