X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: Yes, hits=5.9 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Content-Type: text/plain; charset="utf-8" Date: Sat, 20 Oct 2012 20:22:51 +0200 From: "Lawrence Mayer" Message-ID: <20121020182253.248720@gmx.com> MIME-Version: 1.0 Subject: Ln can't hard link into named directory To: cygwin AT cygwin DOT com x-registered: 0 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Ln can't hard link into named directory. e.g. Ln ... TARGET... DIRECTORY (3rd form) and ln ... -t DIRECTORY TARGET...  (4th form) both fail when DIRECTORY is named (but appear to work when DIRECTORY = '.' (current directory)) returning error message 'ln: Cannot create a file when that file already exists.' when TARGET is named file or 'ln: The filename, directory name, or volume label syntax is incorrect.' when TARGET is '*' (wildcard). I am running cygwin 1.7.17-1 and coreutils 8.15-1, calling above commands from cmd.exe 5.2.3790.3959 on Windows Server 2003 sp2 x32. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple