Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Oct 1998 14:45:33 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        "Megias Sanchez, Jose Manuel" <JMegias@correoex.caja-granada.es>
Cc:        "'freebsd-questions@freebsd.org'" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Q: Extract files with tar
Message-ID:  <Pine.BSF.4.03.9810061445220.19930-100000@resnet.uoregon.edu>
In-Reply-To: <078C61D95216D2119EF500104B943B31091DB4@correoex.caja-granada.es>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 6 Oct 1998, Megias Sanchez, Jose Manuel wrote:

> 	Hello, when I'm trying to extract files with tar, using userid
> root, the files are extracted with userid root. How could I extract the
> files with original permissions?, I've probed --preserve,
> --preserve-permissions and --same-permissions but don't work.

tar xzpf file.tar.gz should do it.

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9810061445220.19930-100000>