Igor Korot <ikorot01@xxxxxxxxx> 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@xxxxxxxxx> 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