This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ln command in Cygwin (hard links)


On 3/3/2010 1:48 PM, John Gilmartin wrote:
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

Please read the problem reporting guidelines found here:


Problem reports: http://cygwin.com/problems.html

There's not enough information in this report to do more than make WAGs. I'm not going to do that here though. ;-)

--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]