Re: ssh-host-config suggestion (was: Re: Updated: OpenSSH-3.5p1-1)

2002-11-07 Thread Ralf Fassel
* Corinna Vinschen | > - the ssh-host-config script should make sure that CYGWIN contains | > `ntsec' when trying the chmod/chown steps | | That shouldn't be necessary anymore since 1.3.14 sets ntsec by | default on NT systems. Good Thing (TM). But then, why didn't the chown call succeed? Or

Re: ssh-host-config suggestion (was: Re: Updated: OpenSSH-3.5p1-1)

2002-11-06 Thread Corinna Vinschen
On Wed, Nov 06, 2002 at 01:20:47PM -0500, Jon LaBadie wrote: > Why is it preferable to run chown and think it did something, as indicated by > the success exit status, rather than be told it was not an appropriate call. It would require to patch a bunch of applications just because the underlying

Re: ssh-host-config suggestion (was: Re: Updated: OpenSSH-3.5p1-1)

2002-11-06 Thread Jon LaBadie
On Wed, Nov 06, 2002 at 07:01:59PM +0100, Corinna Vinschen wrote: > On Wed, Nov 06, 2002 at 12:52:00PM -0500, Jon LaBadie wrote: > > On Wed, Nov 06, 2002 at 06:10:26PM +0100, Corinna Vinschen wrote: > > > The chown(2) syscall > > > returns intentionally always 0 if any of these conditions isn't m

Re: ssh-host-config suggestion (was: Re: Updated: OpenSSH-3.5p1-1)

2002-11-06 Thread Corinna Vinschen
On Wed, Nov 06, 2002 at 12:52:00PM -0500, Jon LaBadie wrote: > On Wed, Nov 06, 2002 at 06:10:26PM +0100, Corinna Vinschen wrote: > > The chown(2) syscall > > returns intentionally always 0 if any of these conditions isn't met. > > That behavior seems rather "non-unix-like". If chown(2) fails to

Re: ssh-host-config suggestion (was: Re: Updated: OpenSSH-3.5p1-1)

2002-11-06 Thread Jon LaBadie
On Wed, Nov 06, 2002 at 06:10:26PM +0100, Corinna Vinschen wrote: > > > - could `chown' be modified to complain if it fails to do the work it > > was supposed to do? It seems that the exit status is 0, and besides > > that the script simply does not care about the exit status of chown. > > T

Re: ssh-host-config suggestion (was: Re: Updated: OpenSSH-3.5p1-1)

2002-11-06 Thread Corinna Vinschen
On Wed, Nov 06, 2002 at 05:49:57PM +0100, Ralf Fassel wrote: > - the ssh-host-config script should make sure that CYGWIN contains > `ntsec' when trying the chmod/chown steps That shouldn't be necessary anymore since 1.3.14 sets ntsec by default on NT systems. > - could `chown' be modified to co

ssh-host-config suggestion (was: Re: Updated: OpenSSH-3.5p1-1)

2002-11-06 Thread Ralf Fassel
* Corinna Vinschen | I've updated the version of OpenSSH to 3.5p1-1. A short remark on the ssh-host-config script: - I upgraded to 3.4p1 recently and `it' did not work: the logfile complained about `wrong mode or owner of /var/empty'. - I then manually chown/chmod'ed the directory to system.syst