X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 	tests=AWL,BAYES_00,SARE_MSGID_LONG40
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <b5dde99a1003031043p25aa6415h7798d4499b1975a@mail.gmail.com>
References: <b5dde99a1003031043p25aa6415h7798d4499b1975a@mail.gmail.com>
Date: Wed, 3 Mar 2010 18:48:46 +0000
Message-ID: <b5dde99a1003031048t2291582at4fa3e70ad1ab0732@mail.gmail.com>
Subject: ln command in Cygwin (hard links)
From: John Gilmartin <johnggilmartin@googlemail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Am I going mad? Why doesn't the following work for me?

(Apologies if I've missed something obvious. I am admittedly a little
rusty. I have Googled and checked the mailing list archives though,
and can't find anything matching these symptoms.)

John@acer-f7ke5hmde0 ~
$ mkdir links

John@acer-f7ke5hmde0 ~
$ cd links

John@acer-f7ke5hmde0 ~/links
$ touch hardlink1

John@acer-f7ke5hmde0 ~/links
$ ln -s hardlink1 symlink1

John@acer-f7ke5hmde0 ~/links
$ ln hardlink1 hardlink2
ln: creating hard link `hardlink2' => `hardlink1': Operation not permitted

John@acer-f7ke5hmde0 ~/links
$ ls -ld .
drwxr-xr-x 1 John None 0 2010-03-03 18:20 .

John@acer-f7ke5hmde0 ~/links
$ whoami
John

John@acer-f7ke5hmde0 ~/links
$

--
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

