delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/15/09:03:24

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: <430F887D415DD1118C2700805F31ECF106019293@sota0005.cognos.com>
From: "Czura, Wojtek" <Wojtek DOT Czura AT cognos DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: gnutar1.12 -xzpkf does not preserve file attributes on windows bu
g.
Date: Wed, 15 Aug 2001 09:00:34 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

Hi,

Using a Cygwin port of GNU tar 1.12 in a multi-platform environment, we
noticed that on windows (Windows NT 4.0), the option -k causes archive files
to loose their attributes, especially Read-Only one:
	gnutar -xzpf file 	- works fine
	gnutar -xzsf file		- works fine
	gnutar -xzf file		- works fine
	gnutar -xzpkf file	- changes Read-Only files to Read-Write file
on Windows.

Is it a bug or an intended behavior?? If it is a bug, are there ways around
it?

Best regards and good luck,

Wojtek M. Czura
Cognos Inc.
SD - UDA

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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