From owner-freebsd-questions Tue Oct 6 14:46:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA03050 for freebsd-questions-outgoing; Tue, 6 Oct 1998 14:46:38 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA02894 for ; Tue, 6 Oct 1998 14:45:48 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id OAA09828; Tue, 6 Oct 1998 14:45:34 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Tue, 6 Oct 1998 14:45:33 -0700 (PDT) From: Doug White To: "Megias Sanchez, Jose Manuel" cc: "'freebsd-questions@freebsd.org'" Subject: Re: Q: Extract files with tar In-Reply-To: <078C61D95216D2119EF500104B943B31091DB4@correoex.caja-granada.es> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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