public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Group Permissions on root folders problem (Windows 10 TP build 10061)
@ 2015-04-29 14:45 Brian Buchanan
  2015-04-30  8:24 ` Corinna Vinschen
  0 siblings, 1 reply; 23+ messages in thread
From: Brian Buchanan @ 2015-04-29 14:45 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2015-09-11 15:18 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAMH9mcFEL3mao+m-DEYM84kC1HOPeSBpZXD+mDf0USobF9oY7g@mail.gmail.com>
2015-06-16 13:23 ` Group Permissions on root folders problem (Windows 10 TP build 10061) Brian Buchanan
2015-06-16 15:58   ` Corinna Vinschen
2015-09-05  6:59     ` Takashi Yano
2015-09-06 11:44       ` Corinna Vinschen
2015-09-10 11:05         ` Takashi Yano
2015-09-10 17:23           ` Corinna Vinschen
2015-09-10 17:27             ` Eric Blake
2015-09-10 17:31               ` Corinna Vinschen
2015-09-10 17:36                 ` Eric Blake
2015-09-10 17:49                   ` Corinna Vinschen
2015-09-11  0:50                   ` Andrey Repin
2015-09-11  1:24                     ` Eric Blake
2015-09-11  2:05                       ` Andrey Repin
2015-09-11 10:04         ` Takashi Yano
2015-09-11 11:10           ` Corinna Vinschen
2015-09-11 12:33             ` Takashi Yano
2015-09-11 15:18               ` Corinna Vinschen
     [not found]     ` <DJzl1r0012qVqVd01Jzm3c>
2015-09-10 15:49       ` David A Cobb
2015-09-10 16:07         ` Ken Brown
2015-09-10 17:29           ` Corinna Vinschen
     [not found]         ` <FU891r01R2qVqVd01U8Bkq>
2015-09-10 20:41           ` David A Cobb
2015-04-29 14:45 Brian Buchanan
2015-04-30  8:24 ` Corinna Vinschen

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