From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 43905 invoked by alias); 26 Mar 2015 19:05:19 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 43891 invoked by uid 89); 26 Mar 2015 19:05:18 -0000 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 Received: from smtp.ht-systems.ru (HELO smtp.ht-systems.ru) (78.110.50.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 26 Mar 2015 19:05:16 +0000 Received: from [91.78.183.206] (helo=darkdragon.lan) by smtp.ht-systems.ru with esmtpa (Exim 4.80.1) (envelope-from ) (Authenticated sender: postmaster@rootdir.org) id 1YbD5X-0006f1-A2 ; Thu, 26 Mar 2015 22:05:07 +0300 Received: from [192.168.1.10] (HELO daemon2) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Thu, 26 Mar 2015 18:59:45 -0000 Date: Thu, 26 Mar 2015 19:12:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <397849664.20150326215944@yandex.ru> To: Kevin Field , cygwin@cygwin.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.1080703@brantaero.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-03/txt/msg00468.txt.bz2 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@yandex.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