Re: Ownership/protection (was Re: [HACKERS] Portability)
От | Vince Vielhaber |
---|---|
Тема | Re: Ownership/protection (was Re: [HACKERS] Portability) |
Дата | |
Msg-id | Pine.BSF.4.05.9911301250082.13266-100000@paprika.michvhf.com обсуждение исходный текст |
Ответ на | Ownership/protection (was Re: [HACKERS] Portability) (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-hackers |
On Tue, 30 Nov 1999, Tom Lane wrote: > ./configure > make > su root > make install > initdb --owner=postgres --pgdata=whatever > exit from su > start postmaster ./configure --with-pguser=postgres make sudo make install is what I've been pushing for. That way when you do the installation it'll happen something like /usr/bin/install -c -d -g postgres -o postgres FILE-TO-BE-INSTALLED the -c copies, the -d creates the missing directories, different install programs do things differently. The -g and -o come from the configure switch --with-pguser and maybe even --with-pggroup. The defaults should be postgres for both. initdb can then have those values built in, yet overridable. Vince. -- ========================================================================== Vince Vielhaber -- KA8CSH email: vev@michvhf.com flame-mail: /dev/null # include <std/disclaimers.h> Have you seenhttp://www.pop4.net? Online Campground Directory http://www.camping-usa.com Online Giftshop Superstore http://www.cloudninegifts.com ==========================================================================
В списке pgsql-hackers по дате отправления: