Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site mit-priam.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!mit-athena!mit-priam!jtkohl
From: jtkohl@mit-priam.UUCP (John T. Kohl)
Newsgroups: net.unix-wizards
Subject: Re: Need help preserving permissions when using tar?
Message-ID: <288@mit-priam.UUCP>
Date: Wed, 17-Jul-85 11:53:56 EDT
Article-I.D.: mit-pria.288
Posted: Wed Jul 17 11:53:56 1985
Date-Received: Thu, 18-Jul-85 20:21:07 EDT
References: <495@men1.UUCP> <2424@sun.uucp>
Reply-To: jtkohl@mit-athena.UUCP (John T. Kohl)
Organization: MIT Project Athena
Lines: 17
Summary: 

In article <2424@sun.uucp> gnu@sun.uucp (John Gilmore) writes:
>> Does anyone know of a way to preserve file and directory permissions
>> and ownerships when using tar?
>
>The tar in 4.2bsd (and maybe other Berkeley releases) puts directory
>permissions into the tar file and creates the directories with those
>permissions when you read the tar file.

But it only sets ownerships if the user who extracts is root.


-- 
The opinions expressed above, if any, are mine.

John T. Kohl
	UUCP: ...!decvax!mit-athena!jtkohl
	ARPA: jtkohl@mit-athena.ARPA