Re: Installing PostgreSQL on Oracle Solaris - Mailing list pgsql-general

From Tom Lane
Subject Re: Installing PostgreSQL on Oracle Solaris
Date
Msg-id 31985.1553355758@sss.pgh.pa.us
Whole thread Raw
In response to Re: Installing PostgreSQL on Oracle Solaris  (Igor Korot <ikorot01@gmail.com>)
Responses Re: Installing PostgreSQL on Oracle Solaris  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: Installing PostgreSQL on Oracle Solaris  (Igor Korot <ikorot01@gmail.com>)
List pgsql-general
Igor Korot <ikorot01@gmail.com> writes:
>>>> igor@solaris:/usr$ sudo bunzip2 < postgresql-9.6.1-S11.i386-64.tar.bz2
>>>> | tar xpf -

> On Sat, Mar 23, 2019 at 9:25 AM Ron <ronljohnsonjr@gmail.com> wrote:
>> Off hand I would say the user you are running as does not have the permissions to unpack the tarball in the location
youhave selected. 

> You mean even running as "sudo"?

In the above, the "sudo" raises the permissions of the bunzip2 program
(quite uselessly, AFAICS), while doing nothing for the tar program in
the other pipe step.  Put the "sudo" in the other pipe step.

(This is assuming that unpacking straight into /usr is actually what
you want to do.  I share the doubts of the other responders about
that being a wise procedure.)

            regards, tom lane


pgsql-general by date:

Previous
From: Hans Schou
Date:
Subject: Re: Installing PostgreSQL on Oracle Solaris
Next
From: Adrian Klaver
Date:
Subject: Re: Installing PostgreSQL on Oracle Solaris