Everything in the path is executable for others.
That is true for:
/usr/lib/postgresql/bin
and for:
/usr/bin
where psql is located.
-- Hugh
At 12:49 PM 11/20/02 +0000, Oliver Elphick wrote:
There is something wrong with permissions here.
You ought to be able, as _any_ user, to run /usr/lib/postgresql/bin/psql
Can you? It seems clear that pg_wrapper can't.
If not, why not?
I assume the file must exist, since you have just reinstalled the
package. Is the file itself executable by all users? (Use "ls -l" to
check this.)
Has someone made an intermediate directory unsearchable? Every
directory in its path should have search (i.e. execute) permission for
all users. Check /usr, /usr/lib, /usr/lib/postgresql, and so on.
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/users-lounge/docs/faq.html