This is the mail archive of the
mailing list for the Cygwin project.
gnutar1.12 -xzpkf does not preserve file attributes on windows bug.
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Subject: gnutar1.12 -xzpkf does not preserve file attributes on windows bug.
- From: "Czura, Wojtek" <Wojtek dot Czura at cognos dot com>
- Date: Wed, 15 Aug 2001 09:00:34 -0400
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
Is it a bug or an intended behavior?? If it is a bug, are there ways around
Best regards and good luck,
Wojtek M. Czura
SD - UDA
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html