Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Mon, 9 May 2005 11:33:45 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: sshd "owned by root" error
Message-ID: <20050509093345.GB11572@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <DAF67AD54A4DC5438A2AA37A5447ABFA0674F983@its-exc3.acs.rochester.edu> <Pine.GSO.4.61.0505061233260.9401@slinky.cs.nyu.edu> <20050506204220.GI29240@trixie.casa.cgf.cx>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20050506204220.GI29240@trixie.casa.cgf.cx>
User-Agent: Mutt/1.4.2i

On May  6 16:42, Christopher Faylor wrote:
> On Fri, May 06, 2005 at 12:41:55PM -0400, Igor Pechtchanski wrote:
> >On Fri, 6 May 2005, Ordal, Peter wrote:
> >>I just finished an install of Cygwin's OpenSSH on XP SP 2.  Along the
> >>way I got the error:
> >>
> >>/var/empty must be owned by root and not group or world-writable.
> >>
> >>This has been discussed several places before, I know.  Still, I had a
> >>different experience than previous posts.  I found that what "owned by
> >>root" meant was actually owned by the account running sshd.  So, when I
> >>ran /usr/sbin/sshd -D under my domain account, I had to chown
> >>/var/empty to my account.
> >
> >The above might be a good candidate for the FAQ...
> 
> I think the error message should probably be changed instead, although I
> suspect that the upstream openssh maintainers might balk at that.

They will, no doubt about it.  The test for ownership is generally guarded
by a test for the "root" user.  Only on Cygwin the test also tests for the
user running sshd.  So that's FAQ fodder.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

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

