delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/29/10:46:09

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:date:message-id:subject:from:to
:content-type; q=dns; s=default; b=kBXiNVNRwvCVwfskONj2BiriGou08
70TyGpEjJ8gUkZhJLshhRIo5LV8OLFMu3UiBT1Vn/ItRVZwTQxvQLygHBkrFz9sL
DpAar63l0XYcs8sAXz6W2oJNXwcwgR7uns52xh22Mcl+22JlAx+u2XK7qa4L0ShV
MMbi31UzbUiRt0=
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:date:message-id:subject:from:to
:content-type; s=default; bh=rzyYsknYtep8bqVwkLqqgELMSko=; b=NmZ
lGSIUrLee7ksm+oYLrR49XCI0Ma7PU6nupwh9WweOCdfX1KYJJU7SWqLlqVMIXUm
WCqjV/WWiQb0c1q2a7f9+i2jr3Fetly5ZHOMKfrJTfAbBsMuUKsoBB5mnLdQg0cw
60G4gmysIEygAUWrIXpL9Pd5YWvJhoUns946EsKM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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.6 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wi0-f179.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=oLmRQXnSxKxJlGb5Xqr1AIHjZj4uH4kaKfVOBZMEj/c=; b=RzkvKiaun0T07clP3ryS8TeHIuh6vCS2eOq+fhEVB5tJyvEJjtDmclGM6tDzDsb5QL SpReikYkg476V8i6Hp9/uq+lAgLpsqB2k92Yb9U2NJGUh03TOn0kuwpSWkyFzU/81pzy 5QdUI0zbIudzmIK80rdrhdN51/mp9B+JZQxw+S2sF4GxQNtZy8F7dJxiIDlcRTwNPvCQ HimX25FiqBf1/nQ9mOCWiHkAypnuUPCEEjukQKTuKHk8v5b7cbBUPEth89mXAOT1hP+h V0/bX4nm090817Ss/x+Wp5aaEDpEtN9BRaRbvjDPBtCVgkYqB1Iu7YnIIJxZDIIdvBAE c4lw==
X-Gm-Message-State: ALoCoQkU7sn3Nir6izA5nIoS5m9k57t3W4quTolEkLeqrbln2GTV/X4YFM0f8uQqlJEf5Xp/7U4U
MIME-Version: 1.0
X-Received: by 10.180.78.135 with SMTP id b7mr6381890wix.65.1430318735563; Wed, 29 Apr 2015 07:45:35 -0700 (PDT)
Date: Wed, 29 Apr 2015 10:45:35 -0400
Message-ID: <CAMH9mcEc+2hEypQS6WG_Q9MghP-dzE0FVV+7kv6cHC23SoxG6Q@mail.gmail.com>
Subject: Group Permissions on root folders problem (Windows 10 TP build 10061)
From: Brian Buchanan <brian AT buchananworldcorp DOT com>
To: cygwin AT cygwin DOT com

I did a fresh cygwin-64 (setup-x86_64 version 2.870) install under
build 10061 of Windows 10 Technical Preview.

The group permissions in the root look wrong.

$ ls -lA /
total 321
drwx---r-x+ 1 Brian Brian               0 Apr 29 10:31 bin
dr-xr-xr-x  1 Brian Brian               0 Apr 29 10:31 cygdrive
-rwxr-xr-x  1 Brian Administrators     59 Apr 29 10:31 Cygwin.bat
-rw-r--r--  1 Brian Administrators 157097 Apr 29 10:31 Cygwin.ico
-rw-r--r--  1 Brian Administrators  53342 Apr 29 10:31 Cygwin-Terminal.ico
drwx---r-x+ 1 Brian Brian               0 Apr 29 10:31 dev
drwx---r-x+ 1 Brian Brian               0 Apr 29 10:31 etc
drwx---rwt+ 1 Brian Brian               0 Apr 29 10:31 home
drwx---r-x+ 1 Brian Brian               0 Apr 29 10:31 lib
dr-xr-xr-x  9 Brian Brian               0 Apr 29 10:31 proc
drwx---r-x+ 1 Brian Brian               0 Apr 29 10:31 sbin
drwx---rwt+ 1 Brian Brian               0 Apr 29 10:31 tmp
drwx---r-x+ 1 Brian Brian               0 Apr 29 10:30 usr
drwx---r-x+ 1 Brian Brian               0 Apr 29 10:30 var

I'm logged on with a Microsoft account and ran the installer as an
Administrator.

This is a particular problem running ssh-host-config -y
$ ssh-host-config -y

*** Info: Generating missing SSH host keys
ssh-keygen: generating new host keys: RSA1 RSA DSA ECDSA ED25519
*** Info: Creating default /etc/ssh_config file
*** Info: Creating default /etc/sshd_config file

*** Info: StrictModes is set to 'yes' by default.
*** Info: This is the recommended setting, but it requires that the POSIX
*** Info: permissions of the user's home directory, the user's .ssh
*** Info: directory, and the user's ssh key files are tight so that
*** Info: only the user has write permissions.
*** Info: On the other hand, StrictModes don't work well with default
*** Info: Windows permissions of a home directory mounted with the
*** Info: 'noacl' option, and they don't work at all if the home
*** Info: directory is on a FAT or FAT32 partition.
*** Query: Should StrictModes be used? (yes/no) yes

*** Info: Privilege separation is set to 'sandbox' by default since
*** Info: OpenSSH 6.1.  This is unsupported by Cygwin and has to be set
*** Info: to 'yes' or 'no'.
*** Info: However, using privilege separation requires a non-privileged account
*** Info: called 'sshd'.
*** Info: For more info on privilege separation read
/usr/share/doc/openssh/README.privsep.
*** Query: Should privilege separation be used? (yes/no) yes
*** Warning: The permissions on the directory /var are not correct.
*** Warning: They must match the regexp d..x..x..[xt]
*** ERROR: Problem with /var directory. Exiting.

$ id
uid=197608(Brian) gid=197608(Brian) groups=197608(Brian),405504(High
Mandatory Level),114(Local account and member of Administrators
group),197611(HomeUsers),544(Administrators),545(Users),4(INTERACTIVE),66049(CONSOLE
LOGON),11(Authenticated Users),15(This
Organization),68521(MicrosoftAccount+brian AT buchananworldcorp DOT com),113(Local
account),66048(LOCAL),262180(Cloud Account Authentication)

Am I doing something wrong?

Is there a way to fix the permissions or a workaround for installation?

Thanks,

Brian

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019