Re: Problems invoking psql. Help please.
От | Hugh Esco |
---|---|
Тема | Re: Problems invoking psql. Help please. |
Дата | |
Msg-id | 5.1.0.14.0.20021120081056.042676b0@petra.cagreens.org обсуждение исходный текст |
Ответ на | Re: Problems invoking psql. Help please. (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | 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@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
В списке pgsql-sql по дате отправления: