Re: BUG #4883: tar xf fails on NFS4 mounts - Mailing list pgsql-bugs

From John R Pierce
Subject Re: BUG #4883: tar xf fails on NFS4 mounts
Date
Msg-id 4A4BF514.4070300@hogranch.com
Whole thread Raw
In response to Re: BUG #4883: tar xf fails on NFS4 mounts  (ajmcello <ajmcello78@gmail.com>)
Responses Re: BUG #4883: tar xf fails on NFS4 mounts  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-bugs
ajmcello wrote:
> The only downside with adding o to tar that I can see is if it isn't
> supported by a non-GNU version of tar.


On solaris 9 and 10 at least, tar -o means set ownership of extracted
files to the runner and not the uid in the tar, which I assume is what
we want here.

Note, this is on Solaris /usr/bin/tar

I'd suggest that if this works on...

    A) solaris 8+
    B) hp-ux
    C) AIX 5.x+
    D) Free/Net/OpenBSD

it would be safe for 'unix' systems, as there really aren't many other
flavors of 'unix' in common use anymore.

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #4883: tar xf fails on NFS4 mounts
Next
From: Bruce Momjian
Date:
Subject: Re: BUG #4894: [patch] documentation bug on 'include' directive