This is the mail archive of the
cygwin
mailing list for the Cygwin project.
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
- Date: Wed, 29 Apr 2015 10:45:35 -0400
- Subject: Group Permissions on root folders problem (Windows 10 TP build 10061)
- Authentication-results: sourceware.org; auth=none
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