[PATCH] Care for permissions of /var/empty in contrib/cygwin/ssh-host-config

Tim Rice tim at multitalents.net
Thu Jul 11 00:40:58 EST 2002


OK, applied.

On Wed, 10 Jul 2002, Corinna Vinschen wrote:

> On Wed, Jul 10, 2002 at 06:49:24AM -0700, Tim Rice wrote:
> > On Wed, 10 Jul 2002, Corinna Vinschen wrote:
> >
> > > Hi,
> > >
> > > the following patch explicitely sets the permissions on /var/empty
> > > to 755 when running the ssh-host-config script on Cygwin.  I never
> > > thought it would be necessary but apparently there are actually
> > > users working with a umask of 0.  Sigh.
> >
> > Is this patch needed?
> > The current Makefile.in does
> > (umask 022 ; $(srcdir)/mkinstalldirs $(DESTDIR)$(PRIVSEP_PATH))
>
> The Cygwin installation only installs the absolutely needed files.
> It doesn't install any directories.
>
> The host configuration is completely done by ssh-host-config.  So
> either the script calls umask or chmod or mkdir -m, but one of them
> is needed.
>
> Corinna
>
>

-- 
Tim Rice				Multitalents	(707) 887-1469
tim at multitalents.net





More information about the openssh-unix-dev mailing list