Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h7inI-0004ha-43 for pgsql-general@arkaria.postgresql.org; Sat, 23 Mar 2019 15:42:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h7inG-0005rv-FB for pgsql-general@arkaria.postgresql.org; Sat, 23 Mar 2019 15:42:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h7inG-0005ro-73 for pgsql-general@lists.postgresql.org; Sat, 23 Mar 2019 15:42:46 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h7inD-0002zW-Of for pgsql-general@lists.postgresql.org; Sat, 23 Mar 2019 15:42:45 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x2NFgc8M031986; Sat, 23 Mar 2019 11:42:38 -0400 From: Tom Lane To: Igor Korot cc: Ron , pgsql-general@lists.postgresql.org Subject: Re: Installing PostgreSQL on Oracle Solaris In-reply-to: References: <5a15ce31-3dcb-5efe-cabc-43363603d27f@aklaver.com> Comments: In-reply-to Igor Korot message dated "Fri, 22 Mar 2019 21:50:48 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <31984.1553355758.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sat, 23 Mar 2019 11:42:38 -0400 Message-ID: <31985.1553355758@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Igor Korot writes: >>>> igor@solaris:/usr$ sudo bunzip2 < postgresql-9.6.1-S11.i386-64.tar.bz= 2 >>>> | tar xpf - > On Sat, Mar 23, 2019 at 9:25 AM Ron wrote: >> Off hand I would say the user you are running as does not have the perm= issions 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