"Tels" <nospam-pg-ab...@bloodgate.com> writes: > + *) if [ `find ${PGDATA} -type f ! -perm 640 | wc -l` -ne 0 ]; then
> Shouldn't ${PGDATA} in the above as argument to find be quoted, otherwise > the shell would get confused if it contains spaces or other special > characters? Hmm. Yeah, probably. I don't think this script is meant to be run with arbitrary values of PGDATA, but most of the other uses are quoted, so for consistency's sake this should be too. regards, tom lane