Date: Sat, 29 Nov 2003 01:02:38 +0100 From: pbm To: ilug@linux.ie Subject: Re: [ILUG] bash scripting question ... is there a built in bash method for checking file perms ? edward nigma, Fri, Nov 28, 2003 at 07:52:27PM +0000: > I got this little script and want to speed it up .. > for i in `find /cygdrive/c/webfilez/` ; > do if [ ! -d $i ]; if your point is making the files readable and writeable, and give the execute bit to directories only, you should really consider using "literal" permissions, particularly the X (execute only if directory) flag, so that a simple chmod -R u=rwX,g=rX,o=rX /cygdrive/d/webfilez would do. p. -- pbm - "but the only soldier now it's me, I'm fighting things that I - cannot see, I think it's called my destiny"