Mr. Lane:
pg_wrapper permits Others to Execute it.
>biko:/usr/bin$ ls -al | grep pg_wrapper
>lrwxrwxrwx 1 root root 10 Oct 10 16:24 createdb -> pg_wrapper
>lrwxrwxrwx 1 root root 10 Oct 10 16:24 createuser ->
>pg_wrapper
>lrwxrwxrwx 1 root root 10 Oct 10 16:24 dropdb -> pg_wrapper
>lrwxrwxrwx 1 root root 10 Oct 10 16:24 dropuser -> pg_wrapper
>lrwxrwxrwx 1 root root 10 Nov 19 20:04 pg_config ->
>pg_wrapper
>lrwxrwxrwx 1 root root 10 Oct 10 16:24 pg_dump -> pg_wrapper
>lrwxrwxrwx 1 root root 10 Nov 19 20:04 pg_restore ->
>pg_wrapper
>-rwxr-xr-x 1 root root 6584 Sep 11 04:30 pg_wrapper
>lrwxrwxrwx 1 root root 10 Oct 10 16:24 psql -> pg_wrapper
>biko:/usr/bin$
At 02:13 AM 11/20/02 -0500, Tom Lane wrote:
>Hugh Esco <hesco@greens.org> writes:
> >> biko:/usr/bin# ls -al | grep psql
> >> lrwxrwxrwx 1 root root 10 Oct 10 16:24 psql -> pg_wrapper
>
> > This seems to say that Other users, like postgres, should be able to
> > execute it. I'm confused, here.
>
>The permissions attached to a symbolic link are meaningless, in all Unix
>variants I've dealt with. You need to look at the permissions of the
>linked-to object (here, pg_wrapper) instead...
>
> regards, tom lane