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:to:subject:message-id:references :mime-version:content-type:content-transfer-encoding :in-reply-to; q=dns; s=default; b=MoSzqGso2vbkzEmK3so0ZTu0sF4fVB PQ2SQmWvXTSH9lJnEI6PP3EjwOQPUikdhgxu2TjC9CzPfsNPEqoox4OIOrMmvAOQ 6BNm0ODQeND68ZEVluOl+BwDu4E5Te1aEGAH3c1NvpfTkzDGBD1tCpEkDfQtXgaj cYecaZnmPoRuk= 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:to:subject:message-id:references :mime-version:content-type:content-transfer-encoding :in-reply-to; s=default; bh=2YgsNOYITAtQC57E9mAi/fPfRqo=; b=M2f9 RDyBFLVk3EvUjTcDzz9GH5JN39IKq/ndQY0wHpEEPH1D6WYWq8sj0WGD2HDa+Ppj cNHWRZMHDvLiXhExkKo/hhNlGGpBiwPtYQexnzk55HkDnd3AEgmN2XUN2zEo3uve Yzm3/HKiQl92p9olZwrt3GlJA7510SgEWUln/U4= 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=-1.7 required=5.0 tests=BAYES_40,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Cross, spiritual, hell, slash X-HELO: earth.ccil.org Date: Thu, 14 Apr 2016 19:53:26 -0400 From: John Cowan To: cygwin AT cygwin DOT com Subject: Re: native Linux userland in Windows 10 Message-ID: <20160414235326.GD29184@mercury.ccil.org> References: <416uDmm4T7200S05 DOT 1460552179 AT web05 DOT cms DOT usa DOT net> <84CCF5B5-9F11-4541-A527-FD0BD3AE5545 AT etr-usa DOT com> <1117668279 DOT 20160414220758 AT yandex DOT ru> <9B4C5920-2F0F-4D7C-A489-A6329679A1E8 AT etr-usa DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9B4C5920-2F0F-4D7C-A489-A6329679A1E8@etr-usa.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes Warren Young scripsit: > (Open question: does UfW’s Bash shell accept UNC paths?) No. It treats a leading double slash as a single slash, despite the Posix permission to do otherwise, and treats a non-leading double slash as an error, despite the Posix requirement not to do that. (I have reported this bug to Feedback Hub.) Thus, even though "cat ./dogs" works, "cat .//dogs" returns ENOENT. > I’d say UfW checks off most of the defining characteristics of an > OS: there’s a separate kernel and userland, it does scheduling, > mediates IPC, keeps processes from stomping on each other… About > the only thing it doesn’t do is privilege separation, but if that’s > a necessary qualification for a thing to be an OS, a Linux box booted > into single-user mode isn’t an OS, either. Actually, it does do privilege separation independent of Windows. I added cowan as a user with useradd -m, and I just do "su - cowan" by hand as the first thing when the initial bash starts up. All is well; I get EPERM when I try to write into /bin. > “You keep using that word. I do not think it means what you think it means.” /me grins. > If that is your decision for yourself, that’s perfectly fine. > However, I predict that a whole lot of people will find uses for this > technology, thereby making it “useful,” by definition. +1 -- John Cowan http://www.ccil.org/~cowan cowan AT ccil DOT org If you have ever wondered if you are in hell, it has been said, then you are on a well-traveled road of spiritual inquiry. If you are absolutely sure you are in hell, however, then you must be on the Cross Bronx Expressway. --Alan Feuer, New York Times, 2002-09-20 -- 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