This is the mail archive of the
cygwin
mailing list for the Cygwin project.
ln command in Cygwin (hard links)
- From: John Gilmartin <johnggilmartin at googlemail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 3 Mar 2010 18:48:46 +0000
- Subject: ln command in Cygwin (hard links)
- References: <b5dde99a1003031043p25aa6415h7798d4499b1975a@mail.gmail.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