From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 64863 invoked by alias); 29 Apr 2015 14:45:43 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 64842 invoked by uid 89); 29 Apr 2015 14:45:40 -0000 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 Received: from mail-wi0-f179.google.com (HELO mail-wi0-f179.google.com) (209.85.212.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 29 Apr 2015 14:45:39 +0000 Received: by wiun10 with SMTP id n10so68685694wiu.1 for ; Wed, 29 Apr 2015 07:45:35 -0700 (PDT) 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) Received: by 10.28.162.130 with HTTP; Wed, 29 Apr 2015 07:45:35 -0700 (PDT) Date: Wed, 29 Apr 2015 14:45:00 -0000 Message-ID: Subject: Group Permissions on root folders problem (Windows 10 TP build 10061) From: Brian Buchanan To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2015-04/txt/msg00615.txt.bz2 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@buchananworldcorp.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