delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/03/13:55:08

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.6 required=5.0 tests=AWL,BAYES_00,BOTNET,DATE_IN_FUTURE_03_06
X-Spam-Check-By: sourceware.org
Message-id: <4B8EF6C3.2020006@cygwin.com>
Date: Wed, 03 Mar 2010 18:54:43 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: ln command in Cygwin (hard links)
References: <b5dde99a1003031043p25aa6415h7798d4499b1975a AT mail DOT gmail DOT com> <b5dde99a1003031048t2291582at4fa3e70ad1ab0732 AT mail DOT gmail DOT com>
In-reply-to: <b5dde99a1003031048t2291582at4fa3e70ad1ab0732@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 AT acer-f7ke5hmde0 ~
> $ mkdir links
>
> John AT acer-f7ke5hmde0 ~
> $ cd links
>
> John AT acer-f7ke5hmde0 ~/links
> $ touch hardlink1
>
> John AT acer-f7ke5hmde0 ~/links
> $ ln -s hardlink1 symlink1
>
> John AT acer-f7ke5hmde0 ~/links
> $ ln hardlink1 hardlink2
> ln: creating hard link `hardlink2' =>  `hardlink1': Operation not permitted
>
> John AT acer-f7ke5hmde0 ~/links
> $ ls -ld .
> drwxr-xr-x 1 John None 0 2010-03-03 18:20 .
>
> John AT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019