sshd "owned by root" error

Corinna Vinschen corinna-cygwin@cygwin.com
Mon May 9 09:51:00 GMT 2005


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/



More information about the Cygwin mailing list