delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/10/09/08:47:56

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 9 Oct 2008 14:47:05 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: openssh 5.1p1-3 / ssh-host-config dependency and permission issues
Message-ID: <20081009124705.GZ9289@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <48EBBDCA DOT 5050804 AT millbrookprinting DOT com> <20081009111625 DOT GV9289 AT calimero DOT vinschen DOT de> <48EDF931 DOT 3030106 AT millbrookprinting DOT com>
MIME-Version: 1.0
In-Reply-To: <48EDF931.3030106@millbrookprinting.com>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Oct  9 08:29, Karl Herrick wrote:
>
>>> 3. Is it safe to make the necessary permission changes to the various 
>>> files and directores (/etc/passwd, /etc/group, and /var) that openssh is 
>>> requesting changes to in order to "force" it to work?
>>>     
>>
>> I don't understand.  Change them and it will run.
>>   
> So that I am being clear, what I am saying is that in order to run 
> "ssh-host-config" without it returning errors, the latest installs of 
> OpenSSH on Cygwin require the following extra steps:
>
> "chmod +r /etc/passwd"
> "chmod +r /etc/group"
> "chmod o+x /var"
>
> Should I consider this a fix for the errors or a workaround? If it is a 
> workaround, does anyone know if there is work being done to make a 
> permanent fix?

The above chmod are in order to do manually and it's right to set
the permissions this way.  If it's not the default after doing a Cygwin
install then that's something to change in the appropriate scripts, but
I hazard to guess tha nobody is actively working on this for Cygwin
1.5.25.  It will probably get better with Cygwin 1.7, though.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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