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


Sat, 17 Jun 2000 15:00:24 +0200 (CEST)
Peter Eisentraut <peter_e@gmx.net>
Install modes
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

Sat, 17 Jun 2000 13:08:08 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: Install modes 