From owner-ntemacs-users@june  Tue Aug 27 10:41:47 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Tue" "27" "August" "1996" "17:52:43" "+0100" "Andrew Innes" "andrewi@harlequin.co.uk" nil "45" "Re: Unpacking src - permission denied" "^From:" nil nil "8" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.7.5/7.2ju) with SMTP id KAA17980 for <voelker@june.cs.washington.edu>; Tue, 27 Aug 1996 10:41:47 -0700
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id KAA41795 for <voelker@joker.cs.washington.edu>; Tue, 27 Aug 1996 10:41:45 -0700
Received: from holly.cam.harlequin.co.uk (holly.cam.harlequin.co.uk [193.128.4.58]) by june.cs.washington.edu (8.7.5/7.2ju) with SMTP id JAA12843 for <ntemacs-users@cs.washington.edu>; Tue, 27 Aug 1996 09:54:10 -0700
Received: from propos.long.harlequin.co.uk by holly.cam.harlequin.co.uk; Tue, 27 Aug 1996 17:54:08 +0100
Received: from woozle.long.harlequin.co.uk (woozle [193.128.93.77]) by propos.long.harlequin.co.uk (8.6.12/8.6.12) with SMTP id RAA17489; Tue, 27 Aug 1996 17:52:43 +0100
Message-Id: <199608271652.RAA17489@propos.long.harlequin.co.uk>
In-Reply-To: <vines.Lev7+kDo2mB@banyanmail.bailey.com> 	(Robertson.Davenport@bailey.com)
From: Andrew Innes <andrewi@harlequin.co.uk>
To: Robertson.Davenport@bailey.com
Cc: ntemacs-users@cs.washington.edu
Subject: Re: Unpacking src - permission denied
Date: Tue, 27 Aug 1996 17:52:43 +0100

On Thu, 15 Aug 96 11:29:58 EDT, "Robertson G Davenport" <Robertson.Davenport@bailey.com> said:
>Hello all,
>
>This is probably a dufus-type question, but I just got the 19.33 src and 
>tried gunzip'ing|tar'ing it and got LOTS of:
>   could not change access or modification times : Permission denied

This message is produced because of a simple "bug" in GNU tar - when
unpacking, it assigns files their final attributes (mode bits) when
creating the file.  Problem is that Win32 will not change the file times
of a read-only file (this is okay on Unix).

I've put a simple fix (see below) in my copy of tar to make files
writable when created to avoid this (the final modes get set a second
time anyway after the file times have been changed).

AndrewI

-----------------------------------------------------------------
*** d:/progs/tar-1.11.2/extract.c.orig	Mon Nov 15 23:19:26 1993
--- d:/progs/tar-1.11.2/extract.c	Fri Mar 29 14:01:46 1996
***************
*** 357,363 ****
  			  * With 3-arg open(), we can do this up right.
  			  */
  	  fd = open (skipcrud + current_file_name,
! 		     openflag, hstat.st_mode);
  #endif
  	}
  
--- 357,370 ----
  			  * With 3-arg open(), we can do this up right.
  			  */
  	  fd = open (skipcrud + current_file_name,
! 		     openflag,
! #ifdef WINDOWSNT
! 		     /* utime fails if file is not writable */
! 		     hstat.st_mode | S_IWRITE
! #else
! 		     hstat.st_mode
! #endif
! 	    );
  #endif
  	}
  

From e_and_c@NetVision.net.il  Sun Feb 23 00:10:37 1997
X-VM-v5-Data: ([nil nil nil nil t nil nil nil nil]
	[nil "Sun" "23" "February" "1997" "10:02:47" "+0200" "E. E_And_C C. Medical Intelligence" "e_and_c@netvision.net.il" "<330FF9A6.A50@NetVision.net.il>" "8" "Re: tar for NT" "^From:" nil nil "2" nil nil nil nil]
	nil)
Received: from nvsgi1.netvision.net.il (nvsgi1.NetVision.net.il [194.90.1.31]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with ESMTP id AAA27666 for <voelker@cs.washington.edu>; Sun, 23 Feb 1997 00:10:35 -0800
Received: from Ilan (ts006p2.pop2a.netvision.net.il [194.90.120.112]) by nvsgi1.netvision.net.il (8.7.5/8.7.3) with SMTP id KAA20108 for <voelker@cs.washington.edu>; Sun, 23 Feb 1997 10:10:25 +0200 (IST)
Message-ID: <330FF9A6.A50@NetVision.net.il>
Reply-To: e_and_c@NetVision.net.il
Organization: E & C Medical Intelligence
X-Mailer: Mozilla 3.0 (Win95; I)
MIME-Version: 1.0
References: <330D9ABB.4CBB@NetVision.net.il> <199702222043.MAA26962@joker.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: E & C Medical Intelligence <e_and_c@NetVision.net.il>
To: Geoff Voelker <voelker@cs.washington.edu>
Subject: Re: tar for NT
Date: Sun, 23 Feb 1997 10:02:47 +0200

Geoff,

Sorry, no idea what version it is, or even who did the port. It's just
sitting there anonymously.  The .exe is dated 2/26/94 so it can't be a
particularly recent version...

Regards,
Natan.

