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: <002001c09272$c13cfae0$8b0c4ea8@kepri.re.kr> From: "Jong B. Lee" To: "cygwin" Subject: tar problem - symlinked file Date: Fri, 9 Feb 2001 17:31:52 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="ks_c_5601-1987" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id DAA24742 tar does not teat well symlinked file when it is symlinked to a file in its parent directory. Here's the case. Current directory is and a file, , is in the parent directory. $ ls -s ../foo foo $ cd .. $ tar cvf test.tar test $ rm -rf test $ tar xvf test.tar $ cd test $ls -laF Wow! The size of foo is zero !