T Baby - 2006-08-07

Logged In: YES
user_id=1550098

I'm not sure why the 'find' command failed. It could be
your version doesn't support the -name and -type switches
but that's unlikely. You might try adding a shebang at the
start of changePerm such as

#!/bin/sh

so that your shell knowns you are trying to run a script.

Anyway, since the two 'find' commands failed, the
permissions of the .htaccess files and subdirectories are
probably incorrect. The .htaccess file should be world
readable and the subfolders should be at least world
executable. Try changing the permissions and see if that
fixes the two warnings you received.

One last thought, if the 'chmod' in changePerm executed
successfully then your php files will not be world readable.
This is fine if you are running php as cgi's but if your
aren't then do

chmod -R a+rX *.php

to make the php files world readable/executable