This is the mail archive of the
mailing list for the Cygwin project.
Re: native Linux userland in Windows 10
- From: John Cowan <cowan at mercury dot ccil dot org>
- To: cygwin at cygwin dot com
- Date: Thu, 14 Apr 2016 19:53:26 -0400
- Subject: Re: native Linux userland in Windows 10
- Authentication-results: sourceware.org; auth=none
- 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>
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.â
> 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.
John Cowan http://www.ccil.org/~cowan email@example.com
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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple