X-Recipient: archive-cygwin@delorie.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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 <cowan@mercury.ccil.org>
To: cygwin@cygwin.com
Subject: Re: native Linux userland in Windows 10
Message-ID: <20160414235326.GD29184@mercury.ccil.org>
References: <416uDmm4T7200S05.1460552179@web05.cms.usa.net> <84CCF5B5-9F11-4541-A527-FD0BD3AE5545@etr-usa.com> <1117668279.20160414220758@yandex.ru> <9B4C5920-2F0F-4D7C-A489-A6329679A1E8@etr-usa.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@ccil.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

