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
Message-ID: <cb51e2e050509211264b50258@mail.gmail.com>
Date: Mon, 9 May 2005 21:12:41 -0700
From: Joshua Daniel Franklin <joshuadfranklin@gmail.com>
Reply-To: Joshua Daniel Franklin <joshuadfranklin@gmail.com>
To: cygwin@cygwin.com
Subject: Re: sshd "owned by root" error
In-Reply-To: <20050509093345.GB11572@calimero.vinschen.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
References: <DAF67AD54A4DC5438A2AA37A5447ABFA0674F983@its-exc3.acs.rochester.edu> <Pine.GSO.4.61.0505061233260.9401@slinky.cs.nyu.edu> <20050506204220.GI29240@trixie.casa.cgf.cx> <20050509093345.GB11572@calimero.vinschen.de>
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j4A4D6DY014474

On 5/9/05, Corinna Vinschen wrote:
> 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:
> > >>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.

This issue seems closely related to the "Why doesn't su work?" FAQ at:
<http://cygwin.com/faq/faq0.html#SEC42>; perhaps I will expand that entry.

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


