tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: tar usage in pkgsrc



On Wed, Mar 25, 2009 at 09:28:00PM +0000, David Laight wrote:
> On Wed, Mar 25, 2009 at 10:14:01PM +0100, Joerg Sonnenberger wrote:
> > On Wed, Mar 25, 2009 at 09:11:43AM +0200, Hasso Tepper wrote:
> > > > The alternative would be to provide a mode/owner unpreserving tar via 
> > > > USE_TOOLS, which does TRT depending on the platform, falling back to 
> > > > pax/bsdtar if the platform doesn't have that.
> > > 
> > > ... as pkgsrc/DragonFly developer I'd prefer this. I really don't want to 
> > > deal with these issues in general because "it works on NetBSD". I have 
> > > enough DragonFly specific issues in my queue ;).
> > 
> > Me too. Anyone having a good suggestion how to name such a tool?
> > securing-tar sounds bad :)
> > 
> > Basically, this is a tool to extract tarballs, but resetting ownership
> > and permissions to default values (based on umask).
> 
> Isn't that called 'not being root' ??

No, this is just the modus applied if not running as root.
nbpax/nbpax-as-tar behave that way as root by default too, other tar
implementations don't.

Joerg


Home | Main Index | Thread Index | Old Index