delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/03/26/15:05:39

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=IDAbKmZ0DeH7HT/X
jTq/hNSyG07q05zHlRzQfmyVPcS9Euvm1ayazPOlv2qketDRsXVbAja3MpBxGcwX
JSCwCotgyB9KGwqCYL3UxVX+PWdzjvymjYhpCdnQG09zpUacCdfP8q2NJxlKtBEl
mvdYUVoZptqLT+NG0xqKMLnAPlY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=pplPr+0DM4SW5XFUW4EDmv
4MOoo=; b=p5K2MNKSVbHyzmtV03nALHRreHlq+vD9gsjTiTYJT1v/3PsCratl5B
Zi24Y5J30qzvwABFAAY7N483CZJFpvooqOAQxa5kvPOk48/nGnBvO68QXHtO7zvT
ooiLX6N4lgi6GQd/Ub/g/FqntE157kKjdEib0wfgIjMy5XdAa9pME=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_BODY_URIBL_PCCC,KAM_FROM_URIBL_PCCC,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Thu, 26 Mar 2015 21:59:44 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <397849664.20150326215944@yandex.ru>
To: Kevin Field <kev AT brantaero DOT com>, cygwin AT cygwin DOT com
Subject: Re: "cannot create hard link X to Y: Operation not permitted" on ext2fsd-mounted ext2 drive from cygwin cp -al
In-Reply-To: <55140163.1080703@brantaero.com>
References: <55140163 DOT 1080703 AT brantaero DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Kevin Field!

> /cygdrive/d/ is a USB hard disk formatted as ext2 and mounted with
> [ext2fsd][1].

> When I try `cp -al /cygdrive/d/X /cygdrive/d/Y` where X is a file, I get 
> the error in the title.

> Things I've Tried/Verified
> ---

> I did `chmod -R 777 /cygdrive/d` but I still get the same result.

> I am running as local administrator, who is the owner of /cygdrive/d.

> X is a file, not a directory.

> Windows Server 2012 R2 running cygwin64 current as of today.

> It's ext2 because I can, for example, `touch 
> /cygdrive/d/filename_with_a_colon:in_it` and it works and I can see it 
> with `ls`.  Not to mention, it says so in ext2fsd and the Windows Disk 
> Manager.

> Ironically, the same syntax on an NTFS drive works fine and creates an 
> NTFS hardlink.

> I've also tried reformatting the drive as ext3, with the same results. 
> I *had* figured on ext2 being more likely to be fully supported on 
> account of it being older than ext3/4, but I guess it doesn't make a 
> difference.

> The question
> --

> How can I create simple ext2 hardlinks with cygwin?

/lib/csih/getVolInfo.exe /cygdrive/d

?

>    [1]: http://www.ext2fsd.com/


--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 26.03.2015, <21:59>

Sorry for my terrible english...


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