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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=JbK1/c6aQ/X/9gTNeO5paSucpssyyEd78IXv0WjU5jn E2zSwpGzHCIa9012JdMN1mihnaTqTIUJj66Yq7Yxkaf2oY2fHHLit22o2IESJbCS pITgMw+ybM75zo5YlMFBTgCYpj9KzClvaCRAbupi88WF3mB4koKUudbExkjtSunY = 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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=JI0IS1D78YpHKIcw41hy2TtWFQE=; b=poRd0UFyS97m7OF/w /NbxE2WLWpjbHZlBAvf6USCay5VxPRdeGxQsxC/GZVrxABhjm8n0sFiL/VkH+dDd njVIH2vm9XO9Jzd4aD2i4RSgDCYJ2a1GAxn7xVSuk6JC9IBGC18rYrgYbvKU1dMv jiaxbCMwYv2wDOhB1Kvrisgri8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-5.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_PGP_INLINE,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,RDNS_NONE,SPF_PASS,TW_LR,TW_RW,TW_WX,TW_XR autolearn=no version=3.3.1 X-Received: by 10.152.18.202 with SMTP id y10mr22154144lad.80.1373797931904; Sun, 14 Jul 2013 03:32:11 -0700 (PDT) Message-ID: <51E27E2A.7090409@gmail.com> Date: Sun, 14 Jul 2013 14:32:10 +0400 From: LRN User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Thunderbird/25.0a1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Re: Native symlinks troubles References: <20130617125029 DOT GE21191 AT calimero DOT vinschen DOT de> In-Reply-To: <20130617125029.GE21191@calimero.vinschen.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note-from-DJ: This may be spam -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 17.06.2013 16:50, Corinna Vinschen wrote: > On Jun 17 08:43, Алексей Павлов wrote: >> This simple example illustrate problem with using native symlinks. >> >> $ export CYGWIN=winsymlinks:nativestrict >> >> $ mkdir bld && mkdir source && touch source/srcfile && ln -s >> ../source/srcfile bld/bldfile >> >> $ ls -l bld >> total 0 >> lrwxrwxrwx 1 alexey None 10 Jun 17 08:29 bldfile -> ce/srcfile > > Thanks for the report. I applied a patch which should fix this issue. > > I'm just uploading a new developer snapshot 2013-06-17 to > http://cygwin.com/snapshots/, as well as a new 64 bit Cygwin test > release 1.7.21-4. Please give one of them a try. > > > Thanks, > Corinna > Try this (with CYGWIN=winsymlinks:nativestrict): $ mkdir zoo $ touch zoo/foo $ ln -s zoo/foo zoo.x $ ls -l zoo.x expected result: lrwxrwxrwx X YYYY ZZZZ AA BBB CC HH:MM zoo.x -> zoo/foo actual result: lrwxrwxrwx X YYYY ZZZZ AA BBB CC HH:MM zoo.x -> foo happens at least when name (minus extension) of the symlink is the same as the name of the first component (i.e. directory name) of the target. - -- O< ascii ribbon - stop html email! - www.asciiribbon.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (MingW32) iQEcBAEBAgAGBQJR4n4oAAoJEOs4Jb6SI2CwDEYIALG04Wl6UH5uENr/pPAYGhk+ 5wBoVIQ4Ix8XaCNtQ9tcIjO7tXnVNcYVZ/HtUk34Pzozk0eNK07N+IRHWHulN5pK Uq3WkBffCEZusy1coB4T83MhImbyxZTkiYFgl3D8uV98Mq/63X9OqbL993OqttOt WXKXNLa4c5lIRnCKtlXVlPM56QRdxUSPf4AwswinP3geSPUcK5sUIIKbk3PvCgCg L/9OtLnt0McmbfQh2b9h4kmkrWiPkLTxjRXuNxuPcFGVRkGO8Htin5TRyATE2X0U E1pneUvAHeucyVKsMXu5Ga+v6tPBX376PJrRbbhngITsW3UKnm8vMBn/nn4Z7Kw= =kmH9 -----END PGP SIGNATURE----- -- 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