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:mime-version:message-id:from:to:subject :content-type:date:in-reply-to:references; q=dns; s=default; b=L /ZUvpodHhbdUsj/m/Jk1QKplbAIzQP1/fld9AU4xXkK26Zut2wl35xParVIIEgiz hxlImGN0aY9Fuow7ZSR9zk3lVkkssf841AXgJY5YDQ4nOcGviovIPp2dW3POCPbR Z35pyRKO7a78VRjxLbOGwr+DkysG32uK/ymYk626rw= 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:mime-version:message-id:from:to:subject :content-type:date:in-reply-to:references; s=default; bh=kB13VIx zT9QlDiA4+j+Y2VWUe7U=; b=vXZZGwJVRygtw9+iXYyvwKl0RN1UIjCM7q7cGhS nwnnRTf3/zNW2eZ2/yo5oqrYpldeqCnfRViLfB3BbPC6N/61vx3u+HLK+6GndQQs AvdpNn8i368Bl9PyCIqi6bX99P46yBCg02ehjIUCFuVlsJ4o1lJenEdaxwPeClui pnhg= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=shares, urge, whoever, mounted X-HELO: mout.gmx.net MIME-Version: 1.0 Message-ID: From: "Sven Eden" To: cygwin AT cygwin DOT com Subject: Re: Problematic interpretion of paths starting with double slashes Content-Type: text/plain; charset=UTF-8 Date: Wed, 13 Jun 2018 12:14:13 +0200 Sensitivity: Normal In-Reply-To: <20180613080953.GR7851@calimero.vinschen.de> References: <87efhbdbaz DOT fsf AT Rainer DOT invalid> <20180613080953 DOT GR7851 AT calimero DOT vinschen DOT de> X-UI-Message-Type: mail X-IsSubscribed: yes > Gesendet: Mittwoch, 13. Juni 2018 um 10:09 Uhr > Von: "Corinna Vinschen" > On Jun 12 22:01, Achim Gratz wrote: > > Sven Eden writes: > > > Doing a simple stat on / if (and only if) the UNC lookup > > > fails, does not endanger anything. It wouldn't break > > > anything or do any other damage. Besides from adding an > > > additional <0.01s lag to any failed access that *really* > > > meant a network share. > > > > > > So no. Adding this tiny extra functionality wouldn't break > > > anything for anybody, but allowed the usage of software that > > > relies on the non-cygwin behaviour. (And is outside the > > > users control.) > > > > Well, it does break things if both > > > > //this/or/that > > /this/or/that > > > > exist and then at some point host "this" becomes unreachable. So I'd > > keep //unc/path to mean just that on principle. > > ACK > True, if /this isn't just a mount point for //this, meaning that the "that"s are two different files. Apart from the urge to question the sanity of anybody setting something up like that, I see that this is a serious objection to consider. I mean, seriously, something like that *is* prone to typos, and whoever does that will end up manipulating/using the wrong file rather often anyway. Which leads to the point that such a setup makes injecting not mounted network shares like that quite dangerous... Just my thoughts... Doesn't matter anymore anyway, as my main question of interest was answered. ;-) Sven -- 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