ln command in Cygwin (hard links)

John Gilmartin johnggilmartin@googlemail.com
Wed Mar 3 18:55:00 GMT 2010


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



More information about the Cygwin mailing list