Обсуждение: Install modes

Поиск
Список
Период
Сортировка

Install modes

От
Peter Eisentraut
Дата:
There seems to be little practical reason why we couldn't go along with
the standard install modes of:

programs, shared libraries        0755    [*]
data (libraries, headers, *.sample)    0644

rather than our current

program            0555
static library        0644
shared library        0644 most of the time
"everything else"    0444

On the other hand, I'm sure somebody knows one. Comments?

[*] assuming that "HPUX wants shared libs to be mode 555" does not
preclude mode 755


-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



Re: Install modes

От
Tom Lane
Дата:
Peter Eisentraut <peter_e@gmx.net> writes:
> There seems to be little practical reason why we couldn't go along with
> the standard install modes of:

> programs, shared libraries        0755    [*]
> data (libraries, headers, *.sample)    0644

> [*] assuming that "HPUX wants shared libs to be mode 555" does not
> preclude mode 755

555 for shlibs on HPUX is not negotiable --- the performance cost of not
doing it that way is horrific.  Shlibs are so wonderfully nonstandard
that there are likely other platforms with weird requirements for
shlibs.  So I'd suggest 3 categories:

programs                0755
shared libraries            platform-specific but usually 0755
data (libraries, headers, *.sample)    0644

Otherwise I agree --- no real need for 444 on data files.
        regards, tom lane