delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/19/21:24:37

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3A68F602.C2BF4CC8@cornell.edu>
Date: Fri, 19 Jan 2001 21:20:50 -0500
From: Ivan Dobrianov <id11 AT cornell DOT edu>
X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: tar won't restore permissions

I just upgraded to the latest version of Cygwin. This fixed a problem
that I had with an earler version.

Now I seem to have a worse situation: tar will not restore the original
permissions from an archive. If I have a file in an archive 
-r--r--r-- 1047/everyone 37324 2001-01-19 19:15:21
perspective/myFile.cpp
the command:
tar xvzf myArchive.tgz -p 
will restore it with the permission:
-rw-r--r--

All tar's I've seen so far don't even need the -p to do the right job.
The tar that came with Cygwin B20 also works right.

Has anyone heard of this problem?
Thanks.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019