pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Igor Korot <ikorot01@gmail.com>
Cc: Ron <ronljohnsonjr@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Installing PostgreSQL on Oracle Solaris
Date: Sat, 23 Mar 2019 11:42:38 -0400
Message-ID: <31985.1553355758@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+FnnTyODnTYE9rob5hoTOEYgZmo3=Y+S3kHnPTSnPVpSTfL8Q@mail.gmail.com>
References: <CA+FnnTxh8N2xW-r+OdCNYMo8GF-GhwYk=gvPNy2d8TWDx997mw@mail.gmail.com>
	<5a15ce31-3dcb-5efe-cabc-43363603d27f@aklaver.com>
	<f388f415-7d79-a1c0-8ba1-622be21b71a5@gmail.com>
	<CA+FnnTyODnTYE9rob5hoTOEYgZmo3=Y+S3kHnPTSnPVpSTfL8Q@mail.gmail.com>

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 you have 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




view thread (13+ messages)  latest in thread

Message-ID: <31985.1553355758@sss.pgh.pa.us>
Permalink:  ../31985.1553355758@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/31985.1553355758@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ikorot01@gmail.com, ronljohnsonjr@gmail.com
  Subject: Re: Installing PostgreSQL on Oracle Solaris
  In-Reply-To: <31985.1553355758@sss.pgh.pa.us>
  References: <CA+FnnTxh8N2xW-r+OdCNYMo8GF-GhwYk=gvPNy2d8TWDx997mw@mail.gmail.com> <5a15ce31-3dcb-5efe-cabc-43363603d27f@aklaver.com> <f388f415-7d79-a1c0-8ba1-622be21b71a5@gmail.com> <CA+FnnTyODnTYE9rob5hoTOEYgZmo3=Y+S3kHnPTSnPVpSTfL8Q@mail.gmail.com> <31985.1553355758@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox