public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: John Cowan <cowan@mercury.ccil.org>
To: cygwin@cygwin.com
Subject: Re: native Linux userland in Windows 10
Date: Thu, 14 Apr 2016 23:53:00 -0000	[thread overview]
Message-ID: <20160414235326.GD29184@mercury.ccil.org> (raw)
In-Reply-To: <9B4C5920-2F0F-4D7C-A489-A6329679A1E8@etr-usa.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.”

/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

  reply	other threads:[~2016-04-14 23:53 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-13 12:56 KARL BOTTS
2016-04-13 13:21 ` John Cowan
2016-04-14 15:58 ` Warren Young
2016-04-14 17:18   ` Andrew Schulman
2016-04-14 19:20   ` Andrey Repin
2016-04-14 19:26     ` Eliot Moss
2016-04-14 20:40     ` John Cowan
2016-04-14 22:50       ` Andrey Repin
2016-04-14 23:34         ` John Cowan
2016-04-15 10:05           ` Andrey Repin
2016-04-15 16:27             ` John Cowan
2016-04-17 21:35               ` Andrey Repin
2016-04-18  5:45                 ` Don't descend into a flame war. was: " Herbert Stocker
2016-04-18 13:51                   ` cyg Simple
2016-04-14 23:09     ` Warren Young
2016-04-14 23:53       ` John Cowan [this message]
2016-04-15 10:05       ` Andrey Repin
2016-04-20 22:23         ` Warren Young
2016-04-21 11:56           ` David Macek
2016-04-21 16:31             ` John Cowan
2016-04-22  8:04               ` David Macek
2016-04-22  8:40                 ` Steven Hartland
2016-04-22  4:37           ` Andrey Repin
2016-04-14 20:49   ` John Cowan
  -- strict thread matches above, loose matches on Subject: below --
2016-04-12 12:51 Andrew Schulman
2016-04-12 12:59 ` Marco Atzeri
2016-04-12 13:41   ` Corinna Vinschen
2016-04-12 14:41     ` Philip Daniels
2016-04-12 14:54     ` wilson
2016-04-12 17:01       ` Andrew Schulman
2016-04-12 19:22         ` Eliot Moss
2016-04-12 22:08           ` Warren Young
2016-04-13 15:35             ` Andrey Repin
2016-04-13 18:21               ` John Cowan
2016-04-14  0:14               ` John Cowan
2016-04-14  1:05                 ` Andrey Repin
2016-04-14  3:06                 ` Eliot Moss
2016-04-14 18:35                   ` Andrey Repin
2016-04-14 14:50               ` Warren Young
2016-04-14 15:08                 ` Alexey Sokolov
2016-04-14 17:35                   ` Eliot Moss
2016-04-14 18:35                     ` Andrey Repin
2016-04-14 18:37                       ` Eliot Moss
2016-04-14 18:35                 ` Andrey Repin
2016-04-12 17:37       ` Achim Gratz
2016-04-13  0:12   ` Andrew Schulman
2016-04-13  5:02     ` Herbert Stocker
2016-04-12 17:42 ` Achim Gratz
2016-04-13  5:20 ` Herbert Stocker
2016-04-13  9:41 ` Gerrit Haase
2016-04-13 10:17   ` Tony Kelman
2016-04-15 11:12 ` Tobias Zawada
2016-04-15 16:48   ` John Cowan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160414235326.GD29184@mercury.ccil.org \
    --to=cowan@mercury.ccil.org \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).