From: | Hugh Esco <hesco(at)greens(dot)org> |
---|---|
To: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Problems invoking psql. Help please. |
Date: | 2002-11-20 13:12:33 |
Message-ID: | 5.1.0.14.0.20021120081056.042676b0@petra.cagreens.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
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(at)greens(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Hugh Esco | 2002-11-20 13:52:31 | Re: Problems invoking psql. Help please. |
Previous Message | Richard Huxton | 2002-11-20 13:06:47 | Re: Date trunc in UTC |