Re: pg_upgrade permission check

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_upgrade permission check
Дата
Msg-id 17131.1305562235@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_upgrade permission check  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: pg_upgrade permission check
Список pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> Tom Lane wrote:
>> "full access permissions" seems unhelpfully vague.  Why not say
>> "you must have both read and write access to the current directory"?

> OK, I can do that, but they need execute permission in that directory
> too to look up file names in there.  Should I say execute too?

I doubt it's worth worrying about.  man chdir saith
    In order for a directory to become the current directory, a process must    have execute (search) access to the
directory.

I'm not entirely certain what happens if you chdir into a directory and
then someone revokes the bit afterwards, but I do not feel a need to
complicate the error message to cover such a case.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_upgrade permission check
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_upgrade permission check