Path: utzoo!attcan!uunet!lll-winken!ames!ncar!cruff From: cruff@ncar.ucar.edu (Craig Ruff) Newsgroups: comp.sys.mac Subject: Re: Problem with tar; files that exist but can't be read Message-ID: <1247@ncar.ucar.edu> Date: 17 Jan 89 15:28:23 GMT References: <8901170655.AA26245@Portia.stanford.edu> Reply-To: cruff@handies.UCAR.EDU (Craig Ruff) Organization: Scientific Computing Division/NCAR, Boulder CO Lines: 21 In article <8901170655.AA26245@Portia.stanford.edu> name@PORTIA.STANFORD.EDU (tony cooper) writes: >I copied a tar file from UNIX and un tarred it using tar for the Macintosh. >It worked fine - the untarring operation created a new folder and put in all >the files as it should have. The files were all the correct size too. But >they are unreadable. I set them to type TEXT and owner TEXT as a tar option >but no word processor can read them. Ah, sorry about that. This is due to a bug in the program that fails to set the version number properly to zero. If Apple isn't going to use that stupid version number, why don't they either get rid of it or do the right thing (i.e. force it to zero) on HFS calls? Anyway, you can get the fixed version of tar via anonymous FTP from handies.ucar.edu (128.117.64.4) in the file 'pub/mactar.hqx'. If you saved the other enhanced version that Sak Wathanasin sent recently, it also has this bug fixed (along with better directory selection). This enhanced version is also available in the file 'pub/mactar.1.2.hqx'. -- Craig Ruff NCAR INTERNET: cruff@ncar.UCAR.EDU (303) 497-1211 P.O. Box 3000 CSNET: cruff@ncar.CSNET Boulder, CO 80307 UUCP: cruff@ncar.UUCP