Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <000901c16225$76278ce0$6a09030a@bitmover.com> From: "Andrew Chang" To: "Corinna Vinschen" Subject: need help with cygwin tar permission problem Date: Wed, 31 Oct 2001 08:02:37 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Hi, I notice that when I do a "tar c" on a directory with a read-only file, the read-only permission is converted to a read-write when I un-tar the tar-file. I tried the -p, --preserve option with no effect. This problem started when I upgraded from tar version 1.13-1 to a later release. Does anyone know how to tell tar to preserve my original permission? My current configuration is cygwin, version 1.3.3-2. tar version is 1.13.19-1 Thanks. Andrew chang P.S. Please reply to awc AT bitmover DOT com, I am not on the cygwin mailing list. -- 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/