Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site watcgl.UUCP Path: utzoo!watmath!watcgl!dmmartindale From: dmmartindale@watcgl.UUCP (Dave Martindale) Newsgroups: net.unix Subject: Re: tar brain damage? Message-ID: <1125@watcgl.UUCP> Date: Mon, 28-Nov-83 23:44:10 EST Article-I.D.: watcgl.1125 Posted: Mon Nov 28 23:44:10 1983 Date-Received: Tue, 29-Nov-83 04:52:42 EST References: <4120@amd70.UUCP> Organization: U of Waterloo, Ontario Lines: 7 V7 tar wrote only files, and information about them, to tape. When extracting from tape, it is bright enough to call mkdir if necessary to create a directory, but mkdir just creates it with the default mode and there is no information on tape to do a better job. The 4.1BSD tar writes entries for directories as well as files on the tape (by default - you can write tapes compatible with the old tar if you want) and thus can recreate the mode and owner on extraction. This will also recreate empty directories.