This script does it for any directory (and all included in that directory). I call it allreadit
Must be executed by the owner of the directory or superuser
Code:
#! /bin/sh
# Makes directories browseable and files readable by all users
# Usage: allreadit Directory
#
BASE_DIR=$1
test ! -d $BASE_DIR && { echo "Base Birectory ($BASE_DIR) is not a directory" ; exit; }
find $BASE_DIR/ -type d |while read file; do chmod a+rx $file; done
find $BASE_DIR/ -type f |while read file; do chmod a+r $file; done
Dave