unpacking as root gives weird ownership...
Dan Nelson
dnelson at allantgroup.com
Thu Nov 11 16:37:51 GMT 2004
In the last episode (Nov 11), Andy Firman said:
> On Thu, Nov 11, 2004 at 10:11:37AM -0600, Dan Nelson wrote:
> > In the last episode (Nov 11), Andy Firman said:
> > > On Thu, Nov 11, 2004 at 09:52:55AM -0600, Dan Nelson wrote:
> > > > > Why wouldn't it unpack with root, wheel ownership?
> > > >
> > > > Tarfiles extracted as root preserve the original ownership of the
> > > > files. You can use the -o flag to make all the extracted files
> > > > owned by root.
>
> When I use the -o switch it still won't unpack as root:wheel.
-o works for the native tar on Solaris, Tru64, and IAX. gnutar doesn't
understand -o but does know about --no-same-owner. bsdtar understands
both flags; I just tested it.
--
Dan Nelson
dnelson at allantgroup.com
More information about the freebsd-questions
mailing list