delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/02/17/22:42:00

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <47B8FE55.26B702CC@dessent.net>
Date: Sun, 17 Feb 2008 19:41:09 -0800
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: sshd.log /var/empty must be owned by root and not group or world-writable.
References: <000601c871cb$4dcadf60$0a00a8c0 AT a64x23800p> <47B8FC9F DOT AFC60944 AT dessent DOT net>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
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

Brian Dessent wrote:

> I don't know why running ssh-host-config didn't work, you'd probably
> have to debug that a little more to find out.

It just occured that perhaps /var/empty did not exist the first time
ssh-host-config was run and thus the chown failed, and it was only
created when the sshd tried to start and failed.  If that's the case
then simply having ssh-host-config ensure that the directory exists
before setting ownership seems like the right thing.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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