On Sat, Mar 23, 2019 at 3:48 PM Igor Korot <ikorot01@xxxxxxxxx> wrote:
You mean even running as "sudo"?
igor@solaris:/usr$ sudo bunzip2 < postgresql-9.6.1-S11.i386-64.tar.bz2
| tar xpf -
| tar xpf -
No, you are not running tar as sudo.
I would at least suggest:
cd /usr/local/src
sudo tar --bzip2 xf /usr/postgresql-9.6.1-S11.i386-64.tar.bz2
a bit dependen of which tar you have.
otherwise:
cd /usr/local/src
sudo tar xf <( bzcat /usr/postgresql-9.6.1-S11.i386-64.tar.bz2 )